summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-11-02 12:03:08 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-02 12:03:08 +0000
commit136666271df3fddb92143e6fabf3bda463294b22 (patch)
treed69fb4f92512aab015299f2dc0c4f64dc6f0177f /thread.h
parentbc7f168bb73cba32db370bbcde1be14a357b5bd8 (diff)
downloadperl-136666271df3fddb92143e6fabf3bda463294b22.tar.gz
Replace ATTR_JOINABLE with true Configure probe
for PTHREAD_CREATE_JOINABLE (or equivalent: PTHREAD_CREATE_UNDETACHED or __UNDETACHED). Remove ATTR_JOINABLE itself: Thread.xs uses PTHREAD_CREATE_JOINABLE (or equivalent) directly. Really scan for <mach/cthreads.h> only if usethreads. p4raw-id: //depot/cfgperl@2181
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/thread.h b/thread.h
index 8e95b980db..1312b300dc 100644
--- a/thread.h
+++ b/thread.h
@@ -128,16 +128,6 @@ struct perl_thread *getTHR _((void));
# endif
#endif
-#if !defined(ATTR_JOINABLE) && defined(PTHREAD_CREATE_JOINABLE)
-# define ATTR_JOINABLE PTHREAD_CREATE_JOINABLE
-#endif
-#if !defined(ATTR_JOINABLE) && defined(PTHREAD_CREATE_UNDETACHED)
-# define ATTR_JOINABLE PTHREAD_CREATE_UNDETACHED
-#endif
-#if !defined(ATTR_JOINABLE) && defined(__UNDETACHED)
-# define ATTR_JOINABLE __UNDETACHED
-#endif
-
#ifndef MUTEX_INIT
#define MUTEX_INIT(m) \
STMT_START { \