From: Jarkko Hietaniemi Date: Wed, 3 Apr 2002 14:12:03 +0000 (+0000) Subject: Detached threads do not help; they still hold resources. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f5d0762f338dfad3ae59639478f7d67672862d0;p=p5sagit%2Fp5-mst-13.2.git Detached threads do not help; they still hold resources. p4raw-id: //depot/perl@15703 --- diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm index 6fcd431..d8e8b5a 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 132d65e..6bcd87a 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. +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. =item close() on unopened filehandle %s