#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <time.h>
#include <omnithread.h>
#include <sysLib.h>
#include <assert.h>
#include <intLib.h>
#include "threaddata.cc"

Classes | |
| class | omni_thread_dummy |
Defines | |
| #define | ERRNO(x) (((x) != 0) ? (errno) : 0) |
| #define | THROW_ERRORS(x) { if((x) != OK) throw omni_thread_fatal(errno); } |
| #define | OMNI_THREAD_ID 0x7F7155AAl |
| #define | OMNI_STACK_SIZE 32768l |
| #define | DBG_TRACE(X) |
| #define | DBG_ASSERT(X) |
| #define | DBG_THROW(X) X |
| #define | INSIDE_THREAD_IMPL_CC |
Functions | |
| void | omni_thread_wrapper (void *ptr) |
Variables | |
| int | omni_thread_prio_low = 220 |
| int | omni_thread_prio_normal = 110 |
| int | omni_thread_prio_high = 55 |
| #define DBG_ASSERT | ( | X | ) |
| #define DBG_THROW | ( | X | ) | X |
| #define DBG_TRACE | ( | X | ) |
Referenced by omni_thread_wrapper().
| #define ERRNO | ( | x | ) | (((x) != 0) ? (errno) : 0) |
| #define INSIDE_THREAD_IMPL_CC |
| #define OMNI_STACK_SIZE 32768l |
| #define OMNI_THREAD_ID 0x7F7155AAl |
Referenced by omni_thread_dummy::omni_thread_dummy(), and omni_thread_wrapper().
| #define THROW_ERRORS | ( | x | ) | { if((x) != OK) throw omni_thread_fatal(errno); } |
| void omni_thread_wrapper | ( | void * | ptr | ) |
References DB, DBG_TRACE, omni_thread::detached, omni_thread::exit(), omni_thread::fn_ret, omni_thread::fn_void, omni_thread::id(), omni_mutex::lock(), omni_thread::mutex, NULL, OMNI_THREAD_ID, omni_thread::run(), omni_thread::run_undetached(), omni_thread::thread_arg, and omni_mutex::unlock().
| int omni_thread_prio_high = 55 |
| int omni_thread_prio_low = 220 |
| int omni_thread_prio_normal = 110 |
1.5.5