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

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

Thread Previous | Thread Next
From:
Matti Linnanvuori via RT
Date:
August 2, 2012 22:21
Subject:
[perl #114378] cond_signal does not wake up a thread
Message ID:
rt-3.6.HEAD-11172-1343971283-212.114378-14-0@perl.org
What I meant that if Perl did not emit a warning when calling cond_signal on an unlocked 
variable, I would not have locked the variable and so the bug would not have been written. The 
no warnings 'threads' to avoid the warning seems such an unclean hack.

Thread Previous | 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