Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 13:33:39 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Greg Lehey <grog@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/share/man/man9 sleep.9
Message-ID:  <20070227113338.GA30955@deviant.kiev.zoral.com.ua>
In-Reply-To: <200702270251.l1R2pfaT072096@repoman.freebsd.org>
References:  <200702270251.l1R2pfaT072096@repoman.freebsd.org>

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

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

On Tue, Feb 27, 2007 at 02:51:41AM +0000, Greg Lehey wrote:
> grog        2007-02-27 02:51:41 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     share/man/man9       sleep.9=20
>   Log:
>   Add warning about deadlocks created by use of wakeup_one.

+.Fn wakeup_one
+does not work reliably if more than one process is sleeping on the same
+address;
+in this case it is possible for an unrelated process to be woken.
+This process will ignore the wakeup, and the correct process will never be
+woken.
+.Pp
=20
Is this a bug (that should be fixed), or some fundamental issue with
wakeup_one() ?

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF5BcSC3+MBN1Mb4gRArotAJ9yBsMRK+Bjd59nM0Qm+4y0YSIZKgCgmcWC
XA5tJxNBnDpQZ+nov/ERVeE=
=VBVO
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--



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