Hello, In article <3.0.6.32.19991029132524.00c1c830@tuatha.sidhe.org>, you wrote: >for example, > > { > lock $foo; > cond_wait $foo unless $foo; > } Shouldn't this, in general be { lock $foo; cond_wait $foo until $foo; } ? We can assume that $foo is true when it is signalled, but that does not necessarily mean it is still true when the receiving thread reacquires the lock. -- HansMThread Previous | Thread Next