1 #ifndef _PDCLIB_THREADCONFIG_H
2 #define _PDCLIB_THREADCONFIG_H
3 #include <_PDCLIB_aux.h>
4 #include <_PDCLIB_config.h>
8 #define _PDCLIB_THR_T __darwin_pthread_t
9 #define _PDCLIB_CND_T __darwin_pthread_cond_t
10 #define _PDCLIB_MTX_T __darwin_pthread_mutex_t
12 #define _PDCLIB_TSS_DTOR_ITERATIONS 5
13 #define _PDCLIB_TSS_T __darwin_pthread_key_t
15 typedef __darwin_pthread_once_t _PDCLIB_once_flag;
16 #define _PDCLIB_ONCE_FLAG_INIT {_PTHREAD_ONCE_SIG_init, {0}}
19 #error Need to interrogate the C library headers for your platform