X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=thread.h;h=1e2a220ff99135b4fbb492e9f21c682a702afe10;hb=9e80d8f4145fe9fb88dfa64d5a8ed02291dfee55;hp=f6c468c67502911a0cc1bf2a781eaa89a3010d68;hpb=cea2e8a9dd23747fd2b66edc86c58c64e9970321;p=p5sagit%2Fp5-mst-13.2.git diff --git a/thread.h b/thread.h index f6c468c..1e2a220 100644 --- a/thread.h +++ b/thread.h @@ -35,10 +35,8 @@ struct perl_thread *getTHR (void); # define YIELD pthread_yield(NULL) # endif # endif -# ifndef VMS # define pthread_mutexattr_default NULL # define pthread_condattr_default NULL -# endif #endif #ifndef PTHREAD_CREATE @@ -316,7 +314,7 @@ struct perl_thread *getTHR (void); #define ThrSETSTATE(t, s) STMT_START { \ (t)->flags &= ~THRf_STATE_MASK; \ (t)->flags |= (s); \ - DEBUG_S(PerlIO_printf(PerlIO_stderr(), \ + DEBUG_S(PerlIO_printf(Perl_debug_log, \ "thread %p set to state %d\n", (t), (s))); \ } STMT_END