GNU Radio 2.x: ot_mach.h File Reference

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

# ot_mach.h File Reference

`#include <mach/cthreads.h>`

Include dependency graph for ot_mach.h:

Go to the source code of this file.

## Defines
#define | OMNI_MUTEX_IMPLEMENTATION struct mutex mach_mutex;
#define | OMNI_CONDITION_IMPLEMENTATION struct condition mach_cond;
#define | OMNI_SEMAPHORE_IMPLEMENTATION
#define | OMNI_THREAD_IMPLEMENTATION
## Functions
void * | omni_thread_wrapper (void *ptr)

## Define Documentation

#define OMNI_CONDITION_IMPLEMENTATION struct condition mach_cond;

#define OMNI_MUTEX_IMPLEMENTATION struct mutex mach_mutex;

#define OMNI_SEMAPHORE_IMPLEMENTATION

| Value:
    omni_mutex m;                                   \
        omni_condition c;                                   \
        int value;

#define OMNI_THREAD_IMPLEMENTATION

| Value:
    cthread_t mach_thread;                          \
        static int mach_priority(priority_t);               \
        friend void* omni_thread_wrapper(void* ptr);

## Function Documentation

void* omni_thread_wrapper | ( | void * | ptr | ) |