ot_mach.h File Reference

#include <mach/cthreads.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  ) 

Generated by  doxygen 1.6.2