Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

you will lose wakeup.

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

hehe, rtfm.



> Barney
>=20
>=20
>      =20
> _______________________________________________
> 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"

--=20
Have fun!
chd

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAknc1V8ACgkQ0t2Tb3OO/O0HgQCfQP596EIwniXNmr9fWU7rc9Zz
9fkAoLAL0Sc2wadnzK79gR/lV6dhIlEC
=tXLx
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090408164832.GA15890>