Remove ancient threads diagnostics from perldiag
authorFather Chrysostomos <sprout@cpan.org>
Fri, 1 Nov 2013 12:44:20 +0000 (05:44 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 1 Nov 2013 19:41:00 +0000 (12:41 -0700)
for several reasons:
• The wording has changed, so nobody is using these entries anyway.
• The perldiag entries are clearly not being maintained.
• The threads module has its own list of diagnostics.
• The actual wording depends on the version of the threads module
  installed, not the version of perl.

pod/perldiag.pod

index 6a42e08..f163fcd 100644 (file)
@@ -225,14 +225,6 @@ the special variable C<$[>, which is deprecated, is now a fixed zero value.
 must either both be scalars or both be lists.  Otherwise Perl won't
 know which context to supply to the right side.
 
-=item A thread exited while %d threads were running
-
-(W threads)(S) When using threaded Perl, a thread (not necessarily
-the main thread) exited while there were still other threads running.
-Usually it's a good idea first to collect the return values of the
-created threads by joining them, and only then to exit from the main
-thread.  See L<threads>.
-
 =item Attempt to access disallowed key '%s' in a restricted hash
 
 (F) The failing code has attempted to get or set a key which is not in
@@ -314,12 +306,6 @@ that SvREFCNT_inc() was called too few times, or that the SV was
 mortalized when it shouldn't have been, or that memory has been
 corrupted.
 
-=item Attempt to join self
-
-(F) You tried to join a thread from within itself, which is an
-impossible task.  You may be joining the wrong thread, or you may need
-to move the join() to some other thread.
-
 =item Attempt to pack pointer to temporary value
 
 (W pack) You tried to pass a temporary value (like the result of a
@@ -5253,10 +5239,6 @@ key traversal, but this Perl has been compiled without it.  You should
 report this warning to the relevant upstream party, or recompile perl
 with default options.
 
-=item thread failed to start: %s
-
-(W threads)(S) The entry point function of threads->create() failed for some reason.
-
 =item times not implemented
 
 (F) Your version of the C library apparently doesn't do times().  I