diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-11-02 12:03:08 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1998-11-02 12:03:08 +0000 |
commit | 136666271df3fddb92143e6fabf3bda463294b22 (patch) | |
tree | d69fb4f92512aab015299f2dc0c4f64dc6f0177f /thread.h | |
parent | bc7f168bb73cba32db370bbcde1be14a357b5bd8 (diff) | |
download | perl-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.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 { \ |