GNU Radio 2.x: ot_nt.h File Reference

Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

# ot_nt.h File Reference

`#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

## Define Documentation

#define OMNI_CONDITION_IMPLEMENTATION

| Value:
    CRITICAL_SECTION crit;                          \
        omni_thread* waiting_head;                          \
        omni_thread* waiting_tail;

#define OMNI_DEFINED_WIN32_LEAN_AND_MEAN

#define OMNI_MUTEX_IMPLEMENTATION CRITICAL_SECTION crit;

#define OMNI_MUTEX_LOCK_IMPLEMENTATION EnterCriticalSection(&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 OMNI_THREAD_WRAPPER unsigned __stdcall omni_thread_wrapper(LPVOID ptr);

## Variable Documentation

OMNI_THREAD_WRAPPER