This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
"thread failed to start: " is better than "Died:".
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 9 Jun 2002 21:01:57 +0000 (21:01 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 9 Jun 2002 21:01:57 +0000 (21:01 +0000)
p4raw-id: //depot/perl@17148

ext/threads/threads.xs
pod/perldiag.pod

index e1f6c9a..59e3597 100755 (executable)
@@ -280,7 +280,7 @@ Perl_ithread_run(void * arg) {
                }
                PUTBACK;
                if (SvTRUE(ERRSV)) {
-                   Perl_warn(aTHX_ "Died:%" SVf,ERRSV);
+                   Perl_warn(aTHX_ "thread failed to start: %" SVf, ERRSV);
                }
                FREETMPS;
                LEAVE;
index 12fc7ac..6907866 100644 (file)
@@ -3586,6 +3586,10 @@ F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the
 target of the change to
 %ENV which produced the warning.
 
+=item thread failed to start: %s
+
+(F) 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