Date: Wed, 8 Apr 2009 20:48:32 +0400 From: Chagin Dmitry <dchagin@freebsd.org> To: Barney Cordoba <barney_cordoba@yahoo.com> Cc: current@freebsd.org Subject: Re: Are wakeups cumulative? Message-ID: <20090408164832.GA15890@dchagin.static.corbina.ru> In-Reply-To: <508110.15906.qm@web63902.mail.re1.yahoo.com> References: <508110.15906.qm@web63902.mail.re1.yahoo.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Have fun! chd [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAknc1V8ACgkQ0t2Tb3OO/O0HgQCfQP596EIwniXNmr9fWU7rc9Zz 9fkAoLAL0Sc2wadnzK79gR/lV6dhIlEC =tXLx -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090408164832.GA15890>
