Hi All, I am able to create simaltaneous threads and access a subroutine(which performs firing of reqeusts). with the created threads. Some time I get the following error *"Free to wrong pool 225f40 not 13ddbd50 at C:/Perl/lib/constant.pm line -1." .*Whats the reason for the error? ** Please check the below code and tell me if there is efficient way of managing the created threads.
Basically i want the following: Releasing the thread once it has completed the taks and release the memory associated with it. I want to pass thread_id to subroutine(the value of $thr->tid); #######SNIP use strict; use warnings; use Threads; sub perform { my($tid)=