Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: advisory lock status when calling a function, with use strictby ISAI student (Scribe) |
on Jan 01, 2013 at 07:36 UTC ( [id://1011128]=note: print w/replies, xml ) | Need Help?? |
After reading for the 10th time, I have the answer (although not a direct one): "calls to lock by the same thread from within dynamically nested scopes are safe -- the variable will remain locked until the outermost lock on the variable goes out of scope."
The answer is yes.
In Section
Seekers of Perl Wisdom
|
|