37 #error this is a private header file
44 #define NO_IMPLEMENTATION
52 #include "threads/threadp.h"
63 struct cc_pthread_condvar_data {
64 pthread_cond_t condid;
66 #undef NO_IMPLEMENTATION
70 struct cc_w32thread_condvar_data {
71 HANDLE eventhandle[2];
72 uint32_t waiters_count;
73 CRITICAL_SECTION waiters_count_lock;
75 #undef NO_IMPLEMENTATION
79 #ifdef NO_IMPLEMENTATION
80 #error missing threads implementation support
85 void cc_condvar_struct_init(
cc_condvar * condvar_struct);
86 void cc_condvar_struct_clean(
cc_condvar * condvar_struct);
The structure for a conditional variable.
Definition: condvarp.h:61