Sebastian Weber wrote:
> I tested around a little bit and found, that 
> just using "require Socket;import Socket ':all';" instead of "use 
> Socket;" solves the problem.

It was probably a coincidence that your code worked.  Loading
non-thread-safe modules should be done separately in the child threads
and main thread (after launching the child threads) so that neither
copy interferes with the other.


 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

Reply via email to