#include <windows.h>
Go to the source code of this file.
Define Documentation
#define OMNI_CONDITION_IMPLEMENTATION |
#define OMNI_DEFINED_WIN32_LEAN_AND_MEAN |
#define OMNI_MUTEX_IMPLEMENTATION CRITICAL_SECTION crit; |
#define OMNI_MUTEX_LOCK_IMPLEMENTATION EnterCriticalSection(&crit); |
#define OMNI_MUTEX_TRYLOCK_IMPLEMENTATION TryEnterCriticalSection(&crit); |
#define OMNI_MUTEX_UNLOCK_IMPLEMENTATION LeaveCriticalSection(&crit); |
#define OMNI_SEMAPHORE_IMPLEMENTATION HANDLE nt_sem; |
#define OMNI_THREAD_IMPLEMENTATION |
Value:HANDLE handle; \
DWORD nt_id; \
void* return_val; \
HANDLE cond_semaphore; \
omni_thread* cond_next; \
omni_thread* cond_prev; \
BOOL cond_waiting; \
static int nt_priority(priority_t); \
friend class omni_condition; \
friend OMNI_THREAD_WRAPPER;
#define WIN32_LEAN_AND_MEAN |
Variable Documentation