Fixed race condtions and deadlocks in interaction with
authorArtur Bergman <sky@nanisky.com>
Sat, 27 Apr 2002 12:56:44 +0000 (12:56 +0000)
committerArtur Bergman <sky@nanisky.com>
Sat, 27 Apr 2002 12:56:44 +0000 (12:56 +0000)
commit89661126d223f04756e59db5fd133f962b0514c6
treeb80407d6a0691b87f5b9bce6355f5fbf5894a8f9
parent39f33d92fc728b977d8cfe3563fd57f4046e5401
Fixed race condtions and deadlocks in interaction with
cond_wait/cond_signal and lock.
Now we wait for a lock to gie up if we return from COND_WAIT
and we are still locked. We also notifiers potential
lockers that it is free for locking when we go into COND_WAIT.

p4raw-id: //depot/perl@16210
MANIFEST
ext/threads/shared/shared.xs
ext/threads/shared/t/cond.t [new file with mode: 0644]
ext/threads/shared/t/queue.t