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