Hi All,

I'm attempting to use the 'threads' module in ActivePerl 5.8.0 build 805. 
Everything seems to work until I attempt to shut the process down
gracefully.  When I call is_running() the whole thing crashes with the
following output (main thread starts the shutdown after 10 seconds):

Starting Thread Test
This is the main thread (1)
This is the child thread (0)
This is the main thread (2)
This is the main thread (3)
This is the child thread (1)
This is the main thread (4)
This is the main thread (5)
This is the child thread (2)
This is the main thread (6)
This is the main thread (7)
This is the child thread (3)
This is the main thread (8)
This is the main thread (9)
This is the child thread (4)
This is the main thread (10)
Can't locate auto/threads/is_running.al in @INC (@INC contains:
C:/Perl/lib C:/P
erl/site/lib .) at thread_test.pl line 26
A thread exited while 2 other threads were still running.

I'm including the module as follows:

use threads;
use threads::shared;
use strict;

Any idea why it can't find that function?

- Steve


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to