Subject: | Threads Does Not join() and Waits Forever |
Dear Graciliano Monteiro Passos,
Hi. This is imacat from Taiwan. I found that your
Thread-Isolate-0.05 waits forever with my Perl 5.8.8 and Perl 5.10.0 on
my Linux 2.6. It hangs at "make test". I tried to investigate further.
It seems that, the raised thread does not join() at all in your
shutdown() method.
I attached the sample terminal log below. Please tell me if you
have any question, or if I could be of any help. Thank you.
imacat@rinse tmp/Thread-Isolate-0.05 % perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi-ld
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
imacat@rinse tmp/Thread-Isolate-0.05 % make test
t/001_basics.............1/8 make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
imacat@rinse tmp/Thread-Isolate-0.05 % perl -Iblib/lib -Iblib/arch
t/001_basics.t
1..8
# Running under perl version 5.008008 for linux
# Current time local: Sat Apr 5 14:12:26 2008
# Current time GMT: Sat Apr 5 06:12:26 2008
# Using Test.pm version 1.25
ok 1
ok 2
imacat@rinse tmp/Thread-Isolate-0.05 %