summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-12-03 13:39:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-03 13:39:53 +0000
commit9b18ff9792ffa535dfbc6a032b1f6b4a54ca7da6 (patch)
treed85384a4077649f0ac4df5fe0e7dd5ea1bb8205b /thread.h
parent8df112fa7f0fd427fe85ffd622fb7db5c321377d (diff)
downloadperl-9b18ff9792ffa535dfbc6a032b1f6b4a54ca7da6.tar.gz
Change#2441 aftermath.
p4raw-id: //depot/cfgperl@2443
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/thread.h b/thread.h
index 1455683a80..695f288c4b 100644
--- a/thread.h
+++ b/thread.h
@@ -50,6 +50,14 @@ struct perl_thread *getTHR _((void));
# define PTHREAD_ATTR_SETDETACHSTATE(a,s) pthread_attr_setdetachstate(a,s)
#endif
+#ifndef PTHREAD_CREATE_JOINABLE
+# ifdef OLD_PTHREAD_CREATE_JOINABLE
+# define PTHREAD_CREATE_JOINABLE OLD_PTHREAD_CREATE_JOINABLE
+# else
+# define PTHREAD_CREATE_JOINABLE 0 /* Panic? No, guess. */
+# endif
+#endif
+
#ifdef I_MACH_CTHREADS
/* cthreads interface */