Thread activestate perl threads use threads; (5 answers)
Opened by montii at 2006-09-15 15:23

montii
 2006-09-16 15:41
#69927 #69927
User since
2006-08-28
13 Artikel
BenutzerIn
[default_avatar]
hrmz. auf der arbeit scheine ich eine andere version zu haben. Hier habe ich das kill problem nicht. Dafür ein Exit problem

Code: (dl )
$SIG{'KILL'} = sub { threads->exit(); };

Quote
Thread 1 terminated abnormally: Can't locate object method "exit" via package "threads" at...


This is perl, v5.8.8 built for MSWin32-x86-multi-thread
Binary build 819 [267479] provided by ActiveState http://www.ActiveState.com
Built Aug 29 2006 12:42:41

threads.pm: our $VERSION = '1.31';


edit:
http://search.cpan.org/src/JDHEDDEN/threads-1.41/Changes
Quote
1.33 Mon Jul 3 10:11:20 EDT 2006
- 'exit' inside a thread silently terminates thread only
- Added 'threads->exit()' (just calls CORE::exit(0))


hmhm.. ist das ActiveState Thread Module outdated? :-/\n\n

<!--EDIT|montii|1158407207-->

View full thread activestate perl threads use threads;