1 #ifndef _WAPI_WAIT_PRIVATE_H_
2 #define _WAPI_WAIT_PRIVATE_H_
4 /* This is an internal, private header file */
10 #include <semaphore.h>
12 #include "wapi-private.h"
13 #include "timed-thread.h"
15 #include "mono-mutex.h"
23 typedef struct _WaitQueueItem
31 GPtrArray *handles[WAPI_HANDLE_COUNT];
32 TimedThread *thread[WAPI_HANDLE_COUNT];
33 gboolean waited[WAPI_HANDLE_COUNT];
34 guint32 waitcount[WAPI_HANDLE_COUNT];
35 /* waitindex must be kept synchronised with the handles array,
36 * such that index n of one matches index n of the other
38 GArray *waitindex[WAPI_HANDLE_COUNT];
39 guint32 lowest_signal;
42 #endif /* _WAPI_WAIT_PRIVATE_H_ */