in reply to Perl and Threading

No idea, but I'd look at the XS modules I'm using to see if they're thread-safe.