Subject: Re: CVS commit: src/lib/libc/rpc
To: Chuck Silvers <chuq@chuq.com>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 11/08/2005 09:47:27
Chuck Silvers <chuq@chuq.com> 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