Subject: | Issue with Imager and threads |
While using Imager in conjunction with threads, and threads::shared, I
encountered an issue with joining threads. Specifically, the second
time I attempted to join a thread, the function blocked.
I'm on Win XP, using strawberry perl v5.10.1
use threads;
use threads::shared; #Without this line, perl crashes
use warnings;
use strict;
use Imager;
my $a=threads->create('d');
$a->join(); #No issues
my $b=threads->create('d');
$b->join(); #This line blocks
print('z');
sub d {}