Are wakeups cumulative?

Chagin Dmitry dchagin at freebsd.org
Wed Apr 8 10:10:55 PDT 2009


On Wed, Apr 08, 2009 at 09:27:40AM -0700, Barney Cordoba wrote:
> 
> If a wakeup() call is issued and the thread isn't sleeping, will it 
> the wakeup be issued immediately when it does sleep, or is the wakeup
> discarded?
> 

you will lose wakeup.

> Also if multiple wakeups are issues before wakeup is the thread only 
> woken once?
> 

hehe, rtfm.



> Barney
> 
> 
>       
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

-- 
Have fun!
chd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090408/070ba230/attachment.pgp


More information about the freebsd-current mailing list