#include <windows.h>
Include dependency graph for ot_nt.h:

Go to the source code of this file.
| Defines | |
| #define | OMNI_DEFINED_WIN32_LEAN_AND_MEAN | 
| #define | OMNI_THREAD_WRAPPER unsigned __stdcall omni_thread_wrapper(LPVOID ptr); | 
| #define | OMNI_MUTEX_IMPLEMENTATION CRITICAL_SECTION crit; | 
| #define | OMNI_MUTEX_LOCK_IMPLEMENTATION EnterCriticalSection(&crit); | 
| #define | OMNI_MUTEX_UNLOCK_IMPLEMENTATION LeaveCriticalSection(&crit); | 
| #define | OMNI_CONDITION_IMPLEMENTATION | 
| #define | OMNI_SEMAPHORE_IMPLEMENTATION HANDLE nt_sem; | 
| #define | OMNI_THREAD_IMPLEMENTATION | 
| Variables | |
| OMNI_THREAD_WRAPPER | |
| 
 | 
| Value: CRITICAL_SECTION crit;                          \
    omni_thread* waiting_head;                          \
    omni_thread* waiting_tail;
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 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;
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
 1.3.3
 
1.3.3