ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
threads package missing is_running
by webmaster other posts by this author
May 2 2008 8:13AM messages near this date
Re: Basic PERL Script | RE: threads package missing is_running
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@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
webmaster
Brian Raven
Brian Raven
Brian Raven
webmaster
Brian Raven
Brian Raven
Bill Luebkert
Andy Bach
webmaster
Andy Bach
Lyle - CosmicPerl.com Support
webmaster
Lyle - CosmicPerl.com Support

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved