Compounds |
class | AtomicCounter |
class | Buffer |
class | Event |
class | FixedBuffer |
class | Mutex |
class | MutexCounter |
class | Poller |
class | Semaphore |
class | Thread |
class | ThreadKey |
class | ThreadLock |
class | TimerPort |
Typedefs |
typedef pthread_t | cctid_t |
typedef unsigned long | timeout_t |
typedef int | signo_t |
Enumerations |
enum | throw_t {
THROW_NOTHING,
THROW_OBJECT,
THROW_EXCEPTION
} |
enum | thread_cancel_t {
THREAD_CANCEL_INITIAL = 0,
THREAD_CANCEL_DEFERRED = 1,
THREAD_CANCEL_IMMEDIATE,
THREAD_CANCEL_DISABLED,
THREAD_CANCEL_DEFAULT = THREAD_CANCEL_DEFERRED,
THREAD_CANCEL_INVALID
} |
enum | thread_suspend_t {
THREAD_SUSPEND_ENABLE,
THREAD_SUSPEND_DISABLE
} |
Functions |
Thread* | getThread (void) |
void | execHandler (Thread *th) |
void | sigHandler (int signo) |
void* | getKey (ThreadKey &tk) |
void | setKey (ThreadKey &tk, void *ptr) |
void | operator++ (Mutex &m) |
void | operator-- (Mutex &m) |
void | operator++ (Semaphore &s) |
void | operator-- (Semaphore &s) |
void | operator++ (Event &s) |
void | operator-- (Event &s) |
void | signal (Thread &th, int signo) |
void | signal (Event &ev) |
void | signal (Semaphore &sem) |
void | wait (Semaphore &sem) |
void | wait (Event &ev, timeout_t timer) |
void | reset (Event &ev) |
int | get (Buffer &b, void *o) |
int | put (Buffer &b, void *o) |
int | peek (Buffer &b, void *o) |
int | operator++ (MutexCounter &mc) |
int | operator-- (MutexCounter &mc) |
struct timespec* | gettimeout (struct timespec *spec, timeout_t timeout) |
void | ccxx_sleep (timeout_t msec) |
void | ccxx_yield (void) |
void | wait (signo_t signo) |
void | pdetach (void) |
| This function provides a simple and portable means to fork/detach a process into a daemon. This function provides a simple and portable means to fork/detach a process into a daemon. More...
|