summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-02-09 17:25:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-09 17:25:12 +0000
commit106177897693458e75f43b4cc0955b5a51edc504 (patch)
treef38ce81d601447d85ffc0cfac520f76caa2dceb7 /thread.h
parent5aa723418959f04967a963333655305248442a6e (diff)
downloadperl-106177897693458e75f43b4cc0955b5a51edc504.tar.gz
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..)
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.h b/thread.h
index 1923aedb97..1b12978dd8 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)