Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Here is the scenario. One perl subroutine will be accessed by multiple threads from 'C' using call_pv() calls.
How to make perl subroutines Thread safe?.
Please suggest some ways to make them Thread safe.
Thanks,
Poornachandran SM.
Comment on How to make perl subroutines Thread safe?.
Given the current state of Perl if that isn't enough I
would suggest using fork instead. You can find a good
discussion of that at Threads vs Forking (Java vs Perl).