From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 17:10:55 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 648FD1065672 for ; Wed, 8 Apr 2009 17:10:55 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 155F88FC12 for ; Wed, 8 Apr 2009 17:10:55 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id CD34A7DECF; Wed, 8 Apr 2009 20:48:37 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1727871773; Wed, 08 Apr 2009 20:48:37 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n38GmbaZ016012; Wed, 8 Apr 2009 20:48:37 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n38GmW5n016011; Wed, 8 Apr 2009 20:48:32 +0400 (MSD) (envelope-from dchagin) Date: Wed, 8 Apr 2009 20:48:32 +0400 From: Chagin Dmitry To: Barney Cordoba Message-ID: <20090408164832.GA15890@dchagin.static.corbina.ru> References: <508110.15906.qm@web63902.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <508110.15906.qm@web63902.mail.re1.yahoo.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: current@freebsd.org Subject: Re: Are wakeups cumulative? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 17:10:55 -0000 --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--