From: Jarkko Hietaniemi Date: Sun, 9 Jun 2002 21:01:57 +0000 (+0000) Subject: "thread failed to start: " is better than "Died:". X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b3c793055c8e1f1559475f3dd89298a3a9858dc;p=p5sagit%2Fp5-mst-13.2.git "thread failed to start: " is better than "Died:". p4raw-id: //depot/perl@17148 --- diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs index e1f6c9a..59e3597 100755 --- a/ext/threads/threads.xs +++ b/ext/threads/threads.xs @@ -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; diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 12fc7ac..6907866 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3586,6 +3586,10 @@ F (see L) 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