pthread_cond_broadcast and FUTEX_REQUEUE
Dinakar Guniguntala <[email protected]> Tue, 18 May 2004 12:40:54 +0530
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <OFD562B2F7.25C604C7-ON65256E98.002674A1-65256E98.0026E75D@in.ibm.com> |
Ulrich, I noticed that pthread_cond_broadcast still uses the FUTEX_REQUEUE functionality in the latest CVS sources whereas this has been removed in RHEL 3.0 update 2. Since there seems to be a testcase that demonstrates this problem, (http://bugme.osdl.org/show_bug.cgi?id=2364) I was wondering if the fix will get into CVS as well. I had also previously noted that another fix for this problem would be to continue to use FUTEX_REQUEUE without releasing the internal condvar lock to prevent corruption of the counters. What are your thoughts on this Regards, Dinakar