in reply to How to make perl subroutines Thread safe?.

There is an excellent solution given at Back to the Future of Threads (Part II).

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).

  • Comment on Re (tilly) 1: How to make perl subroutines Thread safe?.