Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/rpc



Chuck Silvers <chuq%chuq.com@localhost> writes:
>> Use kqueue(2) instead of poll(2) to wait for replies and timeouts
>> in the UDP RPC client code. As a side-effect, this fixes some bugs
>> that might prevent the RPC call from ever timing out for example
>> if the server keeps responding with the wrong xid. This could
>> probably be simplified further by using the EVFILT_TIMER filter.
>
> we can keep the timeout fixes and just go back to pollts() as the
> mechanism for sleeping.  do you want to code that up or should I?

Ultimately, kqueue is a better mechanism for a number of reasons. Is
there no fix we can make, either to kqueue or to the program, to allow
us to use kqueue?

Perry



Home | Main Index | Thread Index | Old Index