Searched refs:mutex (Results 1 – 8 of 8) sorted by relevance
63 std::unique_lock<std::mutex> l(mLock); in wait()76 std::lock_guard<std::mutex> l(mLock); in closeGate()84 std::lock_guard<std::mutex> l(mLock); in openGate()97 std::lock_guard<std::mutex> l(mLock); in terminate()106 std::lock_guard<std::mutex> l(mLock); in isOpen()112 std::lock_guard<std::mutex> l(mLock); in waiters()122 std::mutex mLock;
281 std::lock_guard<std::mutex> rl(mWriteLock); in write()364 std::mutex mWriteLock; // write lock - for blocking mode, prevents multiple
295 std::lock_guard<std::mutex> rl(mReadLock); in read()420 std::mutex mReadLock; // read lock - for blocking mode, prevents multiple
1385 pthread_mutex_t *mutex; member1397 pthread_mutex_t mutex; in FIXTURE_DATA() local1426 pthread_mutex_init(&self->mutex, NULL); in FIXTURE_SETUP()1432 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()1440 self->sibling[1].mutex = &self->mutex; in FIXTURE_SETUP()1464 pthread_mutex_destroy(&self->mutex); in FIXTURE_TEARDOWN()1475 pthread_mutex_lock(me->mutex); in tsync_sibling()1484 pthread_mutex_unlock(me->mutex); in tsync_sibling()1488 pthread_cond_wait(me->cond, me->mutex); in tsync_sibling()1492 pthread_mutex_unlock(me->mutex); in tsync_sibling()[all …]
65 pthread_mutex_t mutex;// = PTHREAD_MUTEX_INITIALIZER; member
83 pthread_mutex_lock(&(pSles->mutex)); in recorderCallback()131 pthread_mutex_unlock(&(pSles->mutex)); in recorderCallback()144 pthread_mutex_lock(&(pSles->mutex)); in playerCallback()197 pthread_mutex_unlock(&(pSles->mutex)); in playerCallback()
95 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable140 ok = pthread_mutex_lock(&mutex); in AndroidBufferQueueCallback()192 ok = pthread_mutex_unlock(&mutex); in AndroidBufferQueueCallback()
42640 final java.lang.Object mutex42766 final java.lang.Object mutex