summaryrefslogtreecommitdiff
path: root/config_h.SH
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 /config_h.SH
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 'config_h.SH')
-rw-r--r--config_h.SH9
1 files changed, 9 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index bfdb62a8a7..878fd1b454 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2267,6 +2267,15 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
*/
#define ARCHNAME "$archname" /**/
+/* PTHREAD_CREATE_JOINABLE:
+ * This symbol, if defined, indicates how to create pthread
+ * in joinable (aka undetached) state. Not defined here if
+ * pthread.h already has defined PTHREAD_CREATE_JOINABLE.
+ * If defined, possible values are PTHREAD_CREATE_UNDETACHED
+ * and __UNDETACHED.
+ */
+#$d_pthread_create_joinable PTHREAD_CREATE_JOINABLE $pthread_create_joinable /**/
+
/* HAS_PTHREAD_YIELD:
* This symbol, if defined, indicates that the pthread_yield
* routine is available to yield the execution of the current