Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Threads and print

by sandy1028 (Sexton)
on Apr 16, 2009 at 08:45 UTC ( [id://757896] : note . print w/replies, xml ) Need Help??

in reply to Re^2: Threads and print
in thread Threads and print

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.