Re: nptl 0.30
Ulrich Drepper <[email protected]>
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dada1 wrote: > File sysdeps/pthread/pthread_cond_wait.c, line 61 > > lll_futex_wake (futex, INT_MAX); > /* We are done. */ > lll_mutex_unlock (cbuffer->cond->__data.__lock); That is in a cancellation handler. And I used that order deliberately to enable the canceled thread to resolve as quickly as possible. If it makes people happy I can revert it. It's of no real consequence since in all probability, if any thread gets awaken, it's most of the time put the sleep again. Provide some benchmarking. And this is *not* what the original mail was about. This has nothing to do with weak or string requirements etc. - -- - --------------. ,-. 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+d2mw2ijCOnn/RHQRArmYAKDH/bxvUus2se2MO7nniOGKZLNCoACeKrn3 rwWk6dXVKFN+tJNV8tL71GA= =ulGY -----END PGP SIGNATURE-----