Alex Rousskov wrote:
> That's not what the man pages say though. Perhaps you know better.
Mine says this: (and it is also my previous understanding on the
subject)
A condition variable must always be associated with a
mutex, to avoid the race condition where a thread prepares
to wait on a condition variable and another thread signals
the condition just before the first thread actually waits
on it.
Stew choosed to ignore this, and accept that it does race sometimes.
/Henrik
Received on Tue Jul 29 2003 - 13:15:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:55 MST