Lines Matching refs:mutex
56 if (int error = ::pthread_mutex_init (&_semaphore.mutex, 0)) in Semaphore()
72 error = ::pthread_mutex_destroy (&_semaphore.mutex); in ~Semaphore()
80 ::pthread_mutex_lock (&_semaphore.mutex); in wait()
87 &_semaphore.mutex)) in wait()
89 ::pthread_mutex_unlock (&_semaphore.mutex); in wait()
99 ::pthread_mutex_unlock (&_semaphore.mutex); in wait()
106 ::pthread_mutex_lock (&_semaphore.mutex); in tryWait()
110 ::pthread_mutex_unlock (&_semaphore.mutex); in tryWait()
116 ::pthread_mutex_unlock (&_semaphore.mutex); in tryWait()
125 ::pthread_mutex_lock (&_semaphore.mutex); in post()
131 ::pthread_mutex_unlock (&_semaphore.mutex); in post()
139 ::pthread_mutex_unlock (&_semaphore.mutex); in post()
146 ::pthread_mutex_lock (&_semaphore.mutex); in value()
148 ::pthread_mutex_unlock (&_semaphore.mutex); in value()