Re: Are wakeups cumulative?

From: Chagin Dmitry <dchagin_at_freebsd.org>
Date: Wed, 8 Apr 2009 20:48:32 +0400
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

Received on Wed Apr 08 2009 - 15:10:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC