mutex 39 src/dps8/threadz.h mutex 41 src/dps8/threadz.h mutex 44 src/dps8/threadz.h mutex 47 src/dps8/threadz.h mutex 56 src/dps8/threadz.h mutex 58 src/dps8/threadz.h mutex 61 src/dps8/threadz.h mutex 63 src/dps8/threadz.h mutex 66 src/dps8/threadz.h mutex 68 src/dps8/threadz.h mutex 83 src/dps8/threadz.h mutex 86 src/dps8/threadz.h mutex 78 src/libsir/include/sir/condition.h bool _sir_condwait(sir_condition* cond, sir_mutex* mutex); mutex 90 src/libsir/include/sir/condition.h bool _sir_condwait_timeout(sir_condition* cond, sir_mutex* mutex, const sir_wait* howlong); mutex 38 src/libsir/include/sir/mutex.h bool _sir_mutexcreate(sir_mutex* mutex); mutex 41 src/libsir/include/sir/mutex.h bool _sir_mutexlock(sir_mutex* mutex); mutex 44 src/libsir/include/sir/mutex.h bool _sir_mutextrylock(sir_mutex* mutex); mutex 47 src/libsir/include/sir/mutex.h bool _sir_mutexunlock(sir_mutex* mutex); mutex 50 src/libsir/include/sir/mutex.h bool _sir_mutexdestroy(sir_mutex* mutex); mutex 407 src/libsir/include/sir/types.h sir_mutex mutex; /**< A mutex to be paired with the condition variable. */ mutex 99 src/libsir/src/sircondition.c bool _sir_condwait(sir_condition* cond, sir_mutex* mutex) { mutex 100 src/libsir/src/sircondition.c bool valid = _sir_validptr(cond) && _sir_validptr(mutex); mutex 104 src/libsir/src/sircondition.c int op = pthread_cond_wait(cond, mutex); mutex 108 src/libsir/src/sircondition.c valid = _sir_condwait_timeout(cond, mutex, &howlong); mutex 116 src/libsir/src/sircondition.c bool _sir_condwait_timeout(sir_condition* cond, sir_mutex* mutex, mutex 118 src/libsir/src/sircondition.c bool valid = _sir_validptr(cond) && _sir_validptr(mutex) && _sir_validptr(howlong); mutex 122 src/libsir/src/sircondition.c int op = pthread_cond_timedwait(cond, mutex, howlong); mutex 125 src/libsir/src/sircondition.c valid = (FALSE != SleepConditionVariableCS(cond, mutex, *howlong)) mutex 37 src/libsir/src/sirmutex.c bool _sir_mutexcreate(sir_mutex* mutex) { mutex 38 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 44 src/libsir/src/sirmutex.c op = pthread_mutex_init(mutex, &attr); mutex 56 src/libsir/src/sirmutex.c bool _sir_mutexlock(sir_mutex* mutex) { mutex 57 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 58 src/libsir/src/sirmutex.c int op = pthread_mutex_lock(mutex); mutex 65 src/libsir/src/sirmutex.c bool _sir_mutextrylock(sir_mutex* mutex) { mutex 66 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 67 src/libsir/src/sirmutex.c int op = pthread_mutex_trylock(mutex); mutex 74 src/libsir/src/sirmutex.c bool _sir_mutexunlock(sir_mutex* mutex) { mutex 75 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 76 src/libsir/src/sirmutex.c int op = pthread_mutex_unlock(mutex); mutex 83 src/libsir/src/sirmutex.c bool _sir_mutexdestroy(sir_mutex* mutex) { mutex 84 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 85 src/libsir/src/sirmutex.c int op = pthread_mutex_destroy(mutex); mutex 92 src/libsir/src/sirmutex.c bool _sir_mutexcreate(sir_mutex* mutex) { mutex 93 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 94 src/libsir/src/sirmutex.c InitializeCriticalSection(mutex); mutex 101 src/libsir/src/sirmutex.c bool _sir_mutexlock(sir_mutex* mutex) { mutex 102 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 103 src/libsir/src/sirmutex.c EnterCriticalSection(mutex); mutex 110 src/libsir/src/sirmutex.c bool _sir_mutextrylock(sir_mutex* mutex) { mutex 111 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) mutex 112 src/libsir/src/sirmutex.c return FALSE != TryEnterCriticalSection(mutex); mutex 117 src/libsir/src/sirmutex.c bool _sir_mutexunlock(sir_mutex* mutex) { mutex 118 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 119 src/libsir/src/sirmutex.c LeaveCriticalSection(mutex); mutex 126 src/libsir/src/sirmutex.c bool _sir_mutexdestroy(sir_mutex* mutex) { mutex 127 src/libsir/src/sirmutex.c if (_sir_validptr(mutex)) { mutex 128 src/libsir/src/sirmutex.c DeleteCriticalSection(mutex); mutex 63 src/libsir/src/sirthreadpool.c !_sir_mutexcreate(&(*pool)->mutex)) { mutex 119 src/libsir/src/sirthreadpool.c bool locked = _sir_mutexlock(&pool->mutex); mutex 128 src/libsir/src/sirthreadpool.c bool unlocked = _sir_mutexunlock(&pool->mutex); mutex 140 src/libsir/src/sirthreadpool.c bool locked = _sir_mutexlock(&(*pool)->mutex); mutex 150 src/libsir/src/sirthreadpool.c bool unlock = _sir_mutexunlock(&(*pool)->mutex); mutex 177 src/libsir/src/sirthreadpool.c _sir_eqland(destroy, _sir_mutexdestroy(&(*pool)->mutex)); mutex 194 src/libsir/src/sirthreadpool.c bool locked = _sir_mutexlock(&pool->mutex); mutex 205 src/libsir/src/sirthreadpool.c (void)_sir_condwait_timeout(&pool->cond, &pool->mutex, &wait); mutex 212 src/libsir/src/sirthreadpool.c bool unlocked = _sir_mutexunlock(&pool->mutex); mutex 223 src/libsir/src/sirthreadpool.c bool unlocked = _sir_mutexunlock(&pool->mutex);