Subject: Re: CVS commit: src/lib/libc/rpc
To: None <perry@piermont.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 11/09/2005 00:17:10
> >> 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

what's a "number of reasons", given that
the code in question merely polls a single descriptor?

YAMAMOTO Takashi