Classes | |
class | Guard |
class | GuardRead |
class | GuardWrite |
Public Types | |
enum | AttachedState_t { Detached_e = PTHREAD_CREATE_DETACHED, Joinable_e = PTHREAD_CREATE_JOINABLE } |
typedef pthread_t | thread_t |
typedef pthread_attr_t | thread_attr_t |
typedef pthread_mutex_t | mutex_t |
typedef pthread_mutexattr_t | mutex_attr_t |
typedef pthread_cond_t | cond_t |
typedef pthread_condattr_t | cond_attr_t |
typedef pthread_key_t | key_t |
typedef pthread_rwlock_t | rwlock_t |
typedef pthread_rwlockattr_t | rwlock_attr_t |
Static Public Member Functions | |
static void | initialise () |
static void | finalize () |
static int | create (thread_t &thread, void *(*start_routine)(void *), void *arg, thread_attr_t &attr=our_default_thread_attr) |
static void | exit (void *) |
static int | cancel (thread_t) |
static int | join (thread_t, void **) |
static int | setdetachstate (thread_attr_t &, AttachedState_t) |
static int | getdetachstate (const thread_attr_t &, AttachedState_t &) |
static int | mutex_init (mutex_t &, const mutex_attr_t &attr=our_default_mutex_attr) |
static int | mutex_destroy (mutex_t &) |
static int | mutex_lock (mutex_t &) |
static int | mutex_trylock (mutex_t &) |
static int | mutex_unlock (mutex_t &) |
static int | cond_init (cond_t &, const cond_attr_t &attr=our_default_cond_attr) |
static int | cond_destroy (cond_t &) |
static int | cond_signal (cond_t &) |
static int | cond_wait (cond_t &, mutex_t &) |
static int | cond_timedwait (cond_t &, mutex_t &, const struct timespec &) |
static int | key_create (key_t &, void(*)(void *)) |
static int | setspecific (key_t, const void *) |
static void * | getspecific (key_t) |
static int | key_delete (key_t) |
static bool | equal (thread_t, thread_t) |
static int | detach (thread_t) |
static thread_t | self () |
static int | rwlock_init (rwlock_t &, const rwlock_attr_t &attr=our_default_rwlock_attr) |
static int | rwlock_destroy (rwlock_t &) |
static int | rwlock_rdlock (rwlock_t &) |
static int | rwlock_tryrdlock (rwlock_t &) |
static int | rwlock_wrlock (rwlock_t &) |
static int | rwlock_trywrlock (rwlock_t &) |
static int | rwlock_unlock (rwlock_t &) |
static int | thread_attr_init (thread_attr_t &) |
static int | mutex_attr_init (mutex_attr_t &) |
static int | cond_attr_init (cond_attr_t &) |
static int | rwlock_attr_init (rwlock_attr_t &) |
static int | thread_attr_destroy (thread_attr_t &) |
static int | mutex_attr_destroy (mutex_attr_t &) |
static int | cond_attr_destroy (cond_attr_t &) |
static int | rwlock_attr_destroy (rwlock_attr_t &) |
Static Public Attributes | |
static thread_attr_t | our_default_thread_attr |
static mutex_attr_t | our_default_mutex_attr |
static cond_attr_t | our_default_cond_attr |
static rwlock_attr_t | our_default_rwlock_attr |
Definition at line 8 of file ThreadStatic.h.