Comment 2 for bug 876686

Revision history for this message
David James (james82) wrote :

Here's a patch that fixes the issue. This patch ensures that we always grab the associated mutex before broadcasting a signal. That in turn ensures that any threads that have checked the condition associated with the mutex have made it to the 'wait' stage and won't miss the signal.