![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^3: Threads and printby sandy1028 (Sexton) |
on Apr 16, 2009 at 08:45 UTC ( #757896=note: print w/replies, xml ) | Need Help?? |
The above code works fine with commenting
lock $$semRef;
Can anyone please explain me what is the use of locking method in the above code.
In Section
Seekers of Perl Wisdom
|
|