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

Can you please tell me some tutorial regarding it. Like how to create a single log file for each thread. It the $to value is increased also only 5 threads should be created.

Replies are listed 'Best First'.
Re^3: Threads and print
by sandy1028 (Sexton) on Apr 16, 2009 at 08:45 UTC
    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.