develooper Front page | perl.perl5.porters | Postings from August 2012

[perl #114378] cond_signal does not wake up a thread

Thread Next
From:
Matti Linnanvuori via RT
Date:
August 2, 2012 22:17
Subject:
[perl #114378] cond_signal does not wake up a thread
Message ID:
rt-3.6.HEAD-11172-1343971051-375.114378-14-0@perl.org
The bug was indeed in that the joining thread held the lock while the thread being joined waited 
for the same lock in cond_wait. So this is not such a Perl bug, even though the warning that 
cond_wait emits when used on an unlocked variable contributed to the bug, so the Perl 
specification is partly to blame.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About