http://qs1969.pair.com?node_id=757896


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.