[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Threads not waking on pthread_cond_signal()
- From: Ulrich Drepper <drepper redhat com>
- To: Ian Wienand <ianw gelato unsw edu au>
- Cc: phil-list redhat com
- Subject: Re: Threads not waking on pthread_cond_signal()
- Date: Mon, 23 Jun 2003 09:48:36 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Wienand wrote:
> Possibly the difference is that with requeue there are two futex calls
> (one to move the queue, one to wake up a thread), where as the old
> codepath only has one?
Certainly, this is known to cause some slowdown. The elimination of the
worst case behavior has a price.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+9y9k2ijCOnn/RHQRAp9KAKDHFx2EO/Fc6zNtsSbdFvUEyVA18ACeLU3t
qCNwznE93V96hN0IKeVOStw=
=5y3+
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]