Aditya Prasad <[EMAIL PROTECTED]> writes: >Hello, > >I wanted to know if the functions perl_parse and perl_run are thread safe. In other >words, i am using multiple perl interpreters allocated in different threads and these >threads will be running parallely. > >I noticed that when one of the threads was paused using the Thread Pause function and >if it was in perl_parse / perl_run / perl_destruct the other thread would get stuck >when encountering one of the perl_parse / perl_run / perl_destruct functions. > >I am embedding the multiple perl interpreters in a multithreaded process in Windows >2000/XP. > >Please advise me if i need to protect these functions.
This may be better on the main p5p list (CC:ed) AFAIK you have to have one perl interpreter per-thread. > >thanks and regards, >aditya > >Confidentiality Notice > >The information contained in this electronic message and any attachments to this >message are intended >for the exclusive use of the addressee(s) and may contain confidential or privileged >information. If >you are not the intended recipient, please notify the sender at Wipro or [EMAIL >PROTECTED] immediately >and destroy all copies of this message and any attachments. This is a mailing list with open supscription - you should not be sending confidential stuff here ;-)