From: Jarkko Hietaniemi Date: Fri, 9 Feb 2001 17:25:12 +0000 (+0000) Subject: Integrate change #8695 from maintperl. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=106177897693458e75f43b4cc0955b5a51edc504;p=p5sagit%2Fp5-mst-13.2.git Integrate change #8695 from maintperl. thread.h tweak to enable 5005threads on HP-UX 10.20 with DCE threads p4raw-link: @8695 on //depot/maint-5.6/perl: c11cbe4f3d933e2347888f343724a545c9cdea8d p4raw-id: //depot/perl@8743 p4raw-integrated: from //depot/maint-5.6/perl@8742 'copy in' thread.h (@8609..) --- diff --git a/thread.h b/thread.h index 1923aed..1b12978 100644 --- a/thread.h +++ b/thread.h @@ -35,6 +35,7 @@ # if defined(__hpux) && defined(__ux_version) && __ux_version <= 1020 # define pthread_attr_init(a) pthread_attr_create(a) /* XXX pthread_setdetach_np() missing in DCE threads on HP-UX 10.20 */ +# define PTHREAD_ATTR_SETDETACHSTATE(a,s) (0) # define PTHREAD_CREATE(t,a,s,d) pthread_create(t,a,s,d) # define pthread_key_create(k,d) pthread_keycreate(k,(pthread_destructor_t)(d)) # define pthread_mutexattr_init(a) pthread_mutexattr_create(a)