]> pd.if.org Git - pdclib/blob - opt/nothread/_PDCLIB_threadconfig.h
PDCLib includes with quotes, not <>.
[pdclib] / opt / nothread / _PDCLIB_threadconfig.h
1 #ifndef _PDCLIB_THREADCONFIG_H\r
2 #define _PDCLIB_THREADCONFIG_H\r
3 #include "_PDCLIB_aux.h"\r
4 #include "_PDCLIB_config.h"\r
5 \r
6 #ifdef __cplusplus
7 extern "C" {
8 #endif\r
9 #define _PDCLIB_ONCE_FLAG_INIT 0\r
10 #define _PDCLIB_ONCE_FLAG_IS_DONE(_f) (*(_f) == 1)\r
11 typedef char _PDCLIB_once_flag;\r
12 \r
13 void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void));\r
14 \r
15 #define _PDCLIB_THRD_HAVE_MISC\r
16 #define _PDCLIB_CND_T char\r
17 #define _PDCLIB_MTX_T char\r
18 #define _PDCLIB_TSS_T struct _PDCLIB_tss\r
19 \r
20 struct _PDCLIB_tss {\r
21         struct _PDCLIB_tss *self;\r
22         void *value;\r
23 };\r
24 \r
25 #ifdef __cplusplus
26 }
27 #endif\r
28 #endif\r