[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pthread_cond_broadcast and FUTEX_REQUEUE






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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]