I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-12-20 18:08:03-08 by pzelnip
GD and thread safety?
Does anybody know if the GD library bundled with ActivePerl 5.10 (v2.41 of the library) is thread safe? I have a program which for a list of names (well, Xbox Live gamertags), retrieves two images associated with the name from the web, and then creates a composite image containing each. When I grab each sub image in a single-threaded script I have no problems, yet when I change the program so that each name is handled in a separate thread, the program crashes every single time. I have a sample script which displays the issue which can be found at: http://pzelnip.googlepages.com/test.pl.txt On ActPerl v5.10.0, this crashes when the multithreaded version is run (gets the Windows "Perl Command Line Interpreter has encountered a problem and needs to close" message), but works perfectly correctly when the single-threaded version is run. Thanks
Direct Responses: Write a response