|
| static void | createMutex (decaf_mutex_t *mutex) |
| | Creates a new Mutex instance at the location given by the mutex pointer argument. More...
|
| |
| static void | lockMutex (decaf_mutex_t mutex) |
| |
| static bool | tryLockMutex (decaf_mutex_t mutex) |
| |
| static void | unlockMutex (decaf_mutex_t mutex) |
| |
| static void | destroyMutex (decaf_mutex_t mutex) |
| |
| static void | createRWMutex (decaf_rwmutex_t *mutex) |
| |
| static void | readerLockMutex (decaf_rwmutex_t mutex) |
| |
| static void | writerLockMutex (decaf_rwmutex_t mutex) |
| |
| static bool | tryReaderLockMutex (decaf_rwmutex_t mutex) |
| |
| static bool | tryWriterLockMutex (decaf_rwmutex_t mutex) |
| |
| static void | unlockRWMutex (decaf_rwmutex_t mutex) |
| |
| static void | destroyRWMutex (decaf_rwmutex_t mutex) |
| |
| static void | createCondition (decaf_condition_t *condition) |
| |
| static void | notify (decaf_condition_t condition) |
| |
| static void | notifyAll (decaf_condition_t condition) |
| |
| static void | waitOnCondition (decaf_condition_t condition, decaf_mutex_t mutex) |
| |
| static bool | waitOnCondition (decaf_condition_t condition, decaf_mutex_t mutex, long long mills, int nanos) |
| |
| static void | interruptibleWaitOnCondition (decaf_condition_t condition, decaf_mutex_t mutex, CompletionCondition &complete) |
| |
| static bool | interruptibleWaitOnCondition (decaf_condition_t condition, decaf_mutex_t mutex, long long mills, int nanos, CompletionCondition &complete) |
| |
| static void | destroyCondition (decaf_condition_t condition) |
| |
| static void | initPriorityMapping (int maxPriority, std::vector< int > &mapping) |
| | Given the Threading libraries max thread priority value, create a mapping to OS level thread priorities and place them in the provided vector. More...
|
| |
| static void | createNewThread (decaf_thread_t *handle, threadMainMethod, void *threadArg, int priority, long long stackSize, long long *threadId) |
| |
| static void | detachThread (decaf_thread_t handle) |
| |
| static void | detachOSThread (decaf_thread_t handle) |
| |
| static void | joinThread (decaf_thread_t handle) |
| |
| static void | exitThread () |
| |
| static decaf_thread_t | getCurrentThread () |
| |
| static decaf_thread_t | getSafeOSThreadHandle () |
| |
| static long long | getCurrentThreadId () |
| |
| static int | getPriority (decaf_thread_t thread) |
| |
| static void | setPriority (decaf_thread_t thread, int priority) |
| |
| static long long | getStackSize (decaf_thread_t thread) |
| |
| static void | setStackSize (decaf_thread_t thread, long long stackSize) |
| |
| static void | yeild () |
| | Pause the current thread allowing another thread to be scheduled for execution, no guarantee that this will happen. More...
|
| |
| static void | createTlsKey (decaf_tls_key *key) |
| |
| static void | destroyTlsKey (decaf_tls_key key) |
| |
| static void * | getTlsValue (decaf_tls_key tlsKey) |
| |
| static void | setTlsValue (decaf_tls_key tlsKey, void *value) |
| |