projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
More tweaks to threads 1.37, by Jerry D. Hedden
[p5sagit/p5-mst-13.2.git]
/
ext
/
threads
/
threads.pm
diff --git
a/ext/threads/threads.pm
b/ext/threads/threads.pm
index
bec14b6
..
6564359
100755
(executable)
--- a/
ext/threads/threads.pm
+++ b/
ext/threads/threads.pm
@@
-438,7
+438,7
@@
strongly discouraged.
If C<exit()> really is needed, then consider using the following:
- threads->exit() if $threads::threads; # Thread friendly
+ threads->exit() if threads->can('exit'); # Thread friendly
exit(status);
=item use threads 'exit' => 'thread_only'