X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2F_PDCLIB_threadconfig.h;h=fcc3d399077efd01eb510b02684dff43e36614fa;hp=cf0a625e0bfd18eb24ff0231186729d1588dc60e;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/opt/nothread/_PDCLIB_threadconfig.h b/opt/nothread/_PDCLIB_threadconfig.h index cf0a625..fcc3d39 100644 --- a/opt/nothread/_PDCLIB_threadconfig.h +++ b/opt/nothread/_PDCLIB_threadconfig.h @@ -1,28 +1,28 @@ -#ifndef _PDCLIB_THREADCONFIG_H -#define _PDCLIB_THREADCONFIG_H -#include "_PDCLIB_aux.h" -#include "_PDCLIB_config.h" - +#ifndef _PDCLIB_THREADCONFIG_H +#define _PDCLIB_THREADCONFIG_H +#include "_PDCLIB_aux.h" +#include "_PDCLIB_config.h" + #ifdef __cplusplus extern "C" { -#endif -#define _PDCLIB_ONCE_FLAG_INIT 0 -#define _PDCLIB_ONCE_FLAG_IS_DONE(_f) (*(_f) == 1) -typedef char _PDCLIB_once_flag; - -void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void)); - -#define _PDCLIB_THRD_HAVE_MISC -#define _PDCLIB_CND_T char -#define _PDCLIB_MTX_T char -#define _PDCLIB_TSS_T struct _PDCLIB_tss - -struct _PDCLIB_tss { - struct _PDCLIB_tss *self; - void *value; -}; - +#endif +#define _PDCLIB_ONCE_FLAG_INIT 0 +#define _PDCLIB_ONCE_FLAG_IS_DONE(_f) (*(_f) == 1) +typedef char _PDCLIB_once_flag; + +void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void)); + +#define _PDCLIB_THRD_HAVE_MISC +#define _PDCLIB_CND_T char +#define _PDCLIB_MTX_T char +#define _PDCLIB_TSS_T struct _PDCLIB_tss + +struct _PDCLIB_tss { + struct _PDCLIB_tss *self; + void *value; +}; + #ifdef __cplusplus } -#endif -#endif +#endif +#endif