X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=thread.h;h=20152f3fea41ab5ae97bb5956160cc53dcbc8961;hb=06c0cc96ebd866767a6d107ed78967600f7e0395;hp=955be24a5e4c0525f58f6866dfb3609b852fa628;hpb=28a8002413ccedcfa8e94526c4bee315c7196d59;p=p5sagit%2Fp5-mst-13.2.git diff --git a/thread.h b/thread.h index 955be24..20152f3 100644 --- a/thread.h +++ b/thread.h @@ -1,6 +1,7 @@ /* thread.h * - * Copyright (C) 1999, 2000, 2001, 2002, by Larry Wall and others + * Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005 + * by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -334,8 +335,7 @@ STMT_START { \ int _eC_; \ if ((_eC_ = pthread_key_create(&PL_thr_key, 0))) { \ - PerlIO_printf(PerlIO_stderr(), "panic: pthread_key_create (%d) [%s:%d]", \ - _eC_, __FILE__, __LINE__); \ + write(2, "panic: pthread_key_create failed\n", 33); \ exit(1); \ } \ } STMT_END