1 #ifndef _PDCLIB_THREADCONFIG_H
\r
2 #define _PDCLIB_THREADCONFIG_H
\r
3 #include <_PDCLIB_aux.h>
\r
4 #include <_PDCLIB_config.h>
\r
6 _PDCLIB_BEGIN_EXTERN_C
\r
7 #define _PDCLIB_ONCE_FLAG_INIT 0
\r
8 #define _PDCLIB_ONCE_FLAG_IS_DONE(_f) (*(_f) == 1)
\r
9 typedef char _PDCLIB_once_flag;
\r
11 void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void));
\r
13 #define _PDCLIB_THRD_HAVE_MISC
\r
14 #define _PDCLIB_CND_T char
\r
15 #define _PDCLIB_MTX_T char
\r
16 #define _PDCLIB_TSS_T struct _PDCLIB_tss
\r
18 struct _PDCLIB_tss {
\r
19 struct _PDCLIB_tss *self;
\r
23 _PDCLIB_END_EXTERN_C
\r