#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 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);
| void* omni_thread_wrapper | ( | void * | ptr | ) |
1.5.9