tech-kern archive

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

Re: Make condition variables take absolute wakeup time



On Wed, May 07, 2008 at 11:14:04PM +0900, YAMAMOTO Takashi wrote:

> > This is for PR kern/38554. I have compiled it but not tested it yet.
> > Also, it doesn't handle kpause() but should. Any comments?
> > 
> > http://www.netbsd.org/~ad/condvar.diff
> > 
> > Andrew
> 
> aren't -EWOULDBLOCK and -EINVAL valid clock_t values?

For a sleep ~497 days into the future at 100Hz, yes. Perhaps uint64_t would
be better.

Andrew


Home | Main Index | Thread Index | Old Index