3 #ifndef _THR_XTHREADS_H
4 #define _THR_XTHREADS_H
10 #pragma pack(push,_CRT_PACKING)
11 #pragma warning(push,3)
12 #pragma push_macro("new")
82 #define _TSS_DTOR_ITERATIONS _TSS_DTOR_ITERATIONS_IMP
85 #define _Tss_create(key, dtor) _TSS_CREATE(key, dtor)
86 #define _Tss_delete(key) _TSS_DELETE(key)
87 #define _Tss_set(key, value) _TSS_SET(key, value)
88 #define _Tss_get(key) _TSS_GET(key)
92 #define _ONCE_FLAG_INIT _ONCE_FLAG_INIT_IMP
93 #define _ONCE_FLAG_CPP_INIT 0
107 #pragma pop_macro("new")
_CRTIMP2_PURE int __cdecl _Mtx_trylock(_Mtx_t *)
Definition: xthreads.h:42
_CRTIMP2_PURE int __cdecl _Mtx_timedlock(_Mtx_t *, const xtime *)
_CRTIMP2_PURE void __cdecl _Thrd_yield(void)
_CRTIMP2_PURE int __cdecl _Cnd_wait(_Cnd_t *, _Mtx_t *)
char _Once_flag_imp_t
Definition: xthrcommon.h:50
_CRTIMP2_PURE void __cdecl _Thrd_sleep(const xtime *)
_CRTIMP2_PURE void __cdecl _Call_once(_Once_flag *, _Once_callback_t)
_CRTIMP2_PURE void *__cdecl _Tss_get(_Tss_t)
_CRTIMP2_PURE void __cdecl _Mtx_reset_owner(_Mtx_t *)
void(* _Tss_dtor_t)(void *)
Definition: xthreads.h:75
int _Once_flag_cpp
Definition: xthreads.h:96
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
Definition: xthrcommon.h:34
typedef void(__cdecl *_se_translator_function)(unsigned int
_CRTIMP2_PURE int __cdecl _Thrd_join(_Thrd_t, int *)
Definition: xthreads.h:21
_Once_flag_imp_t _Once_flag
Definition: xthreads.h:95
_CRTIMP2_PURE void __cdecl _Call_onceEx(_Once_flag_cpp *, _Once_callbackEx_t, void *)
struct _Cnd_internal_imp_t * _Cnd_imp_t
Definition: xthrcommon.h:47
_CRTIMP2_PURE void __cdecl _Thrd_abort(const char *)
_Tss_imp_t _Tss_t
Definition: xthreads.h:74
_CRTIMP2_PURE int __cdecl _Cnd_do_broadcast_at_thread_exit(void)
_CRTIMP2_PURE int __cdecl _Cnd_register_at_thread_exit(_Cnd_t *, _Mtx_t *, int *)
_CRTIMP2_PURE int __cdecl _Mtx_current_owns(_Mtx_t *)
_CRTIMP2_PURE int __cdecl _Thrd_equal(_Thrd_t, _Thrd_t)
_CRTIMP2_PURE int __cdecl _Mtx_init(_Mtx_t *, int)
void(__cdecl * _Once_callbackEx_t)(void *)
Definition: xthreads.h:98
_CRTIMP2_PURE void __cdecl _Mtx_destroy(_Mtx_t *)
_CRTIMP2_PURE int __cdecl _Thrd_create(_Thrd_t *, _Thrd_start_t, void *)
struct _Mtx_internal_imp_t * _Mtx_imp_t
Definition: xthrcommon.h:45
_CRTIMP2_PURE int __cdecl _Cnd_timedwait(_Cnd_t *, _Mtx_t *, const xtime *)
_CRTIMP2_PURE int __cdecl _Cnd_broadcast(_Cnd_t *)
_CRTIMP2_PURE int __cdecl _Cnd_init(_Cnd_t *)
_CRTIMP2_PURE int __cdecl _Cnd_signal(_Cnd_t *)
_CRTIMP2_PURE int __cdecl _Mtx_unlock(_Mtx_t *)
_CRTIMP2_PURE int __cdecl _Tss_set(_Tss_t, void *)
_CRTIMP2_PURE void __cdecl _Thrd_exit(int)
_CRTIMP2_PURE void *__cdecl _Mtx_getconcrtcs(_Mtx_t *)
_Mtx_imp_t _Mtx_t
Definition: xthreads.h:40
_CRTIMP2_PURE int __cdecl _Tss_create(_Tss_t *, _Tss_dtor_t)
Definition: xthreads.h:17
_Cnd_imp_t _Cnd_t
Definition: xthreads.h:61
_CRTIMP2_PURE int __cdecl _Thrd_detach(_Thrd_t)
_CRTIMP2_PURE void __cdecl _Cnd_destroy(_Cnd_t *)
_Thrd_imp_t _Thrd_t
Definition: xthreads.h:25
Definition: xthreads.h:20
Definition: xthreads.h:45
int _Tss_imp_t
Definition: xthrcommon.h:48
Definition: xthreads.h:18
Definition: xthreads.h:44
_CRTIMP2_PURE void __cdecl _Mtx_clear_owner(_Mtx_t *)
_CRTIMP2_PURE int __cdecl _Mtx_lock(_Mtx_t *)
_CRTIMP2_PURE int __cdecl _Cnd_unregister_at_thread_exit(_Mtx_t *)
int(* _Thrd_start_t)(void *)
Definition: xthreads.h:26
_CRTIMP2_PURE _Thrd_t __cdecl _Thrd_current(void)
_CRTIMP2_PURE int __cdecl _Tss_delete(_Tss_t)
#define _END_C_LIB_DECL
Definition: yvals.h:562
void(__cdecl * _Once_callback_t)(void)
Definition: xthreads.h:97
#define _C_LIB_DECL
Definition: yvals.h:561
#define _CRTIMP2_PURE
Definition: yvals.h:483
Definition: xthreads.h:19
Definition: xthreads.h:43
_CRTIMP2_PURE int __cdecl _Thrd_lt(_Thrd_t, _Thrd_t)