summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-03 14:12:03 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-03 14:12:03 +0000
commit4f5d0762f338dfad3ae59639478f7d67672862d0 (patch)
tree83de639b76e82442be17a004f5674975a1a0613b
parentbe6afa270448343c16f7ca13b43bcc64ac015945 (diff)
downloadperl-4f5d0762f338dfad3ae59639478f7d67672862d0.tar.gz
Detached threads do not help; they still hold resources.
p4raw-id: //depot/perl@15703
-rwxr-xr-xext/threads/threads.pm5
-rw-r--r--pod/perldiag.pod7
2 files changed, 5 insertions, 7 deletions
diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm
index 6fcd431ded..d8e8b5a77e 100755
--- a/ext/threads/threads.pm
+++ b/ext/threads/threads.pm
@@ -135,9 +135,8 @@ quick way to get current thread id.
=item Cleanup skipped %d active threads
The main thread exited while there were still other threads running.
-This is not a good sign: you should either explicitly join the
-threads, or let the threads detach themselves, or somehow be certain
-that all the non-main threads have finished.
+This is not a good sign: you should either explicitly join the threads,
+or somehow be certain that all the non-main threads have finished.
=back
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 132d65e4b7..6bcd87a46e 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1128,10 +1128,9 @@ instead.
=item Cleanup skipped %d active threads
(W) When using threaded Perl, the main thread exited while there were
-still other threads running. This is not a good sign: you should either
-explicitly join the threads, or let the threads detach themselves, or
-somehow be certain that all the non-main threads have finished. See
-L<threads>.
+still other threads running. This is not a good sign: you should
+either explicitly join the threads, or somehow be certain that all
+the non-main threads have finished. See L<threads>.
=item close() on unopened filehandle %s