Searched refs:mutex (Results 1 – 10 of 10) 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()363 std::mutex mWriteLock; // write lock - for blocking mode, prevents multiple
299 std::lock_guard<std::mutex> rl(mReadLock); in read()423 std::mutex mReadLock; // read lock - for blocking mode, prevents multiple
44 static std::mutex gLock;51 std::lock_guard<std::mutex> _l(gLock); in frameCallback()77 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_getChoreographer()83 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_prepareChoreographerTests()99 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()115 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()133 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()139 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
55 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable()67 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable()74 std::lock_guard<std::mutex> lock(mMutex); in resetCount()81 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount()86 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount()91 std::lock_guard<std::mutex> lock(mMutex); in isAvailable()99 std::mutex mMutex;113 std::lock_guard<std::mutex> lock(thiz->mMutex); in onDisconnected()124 std::lock_guard<std::mutex> lock(thiz->mMutex); in onError()131 std::mutex mMutex;[all …]
1409 pthread_mutex_t *mutex; member1421 pthread_mutex_t mutex; in FIXTURE_DATA() local1450 pthread_mutex_init(&self->mutex, NULL); in FIXTURE_SETUP()1456 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()1464 self->sibling[1].mutex = &self->mutex; in FIXTURE_SETUP()1488 pthread_mutex_destroy(&self->mutex); in FIXTURE_TEARDOWN()1499 pthread_mutex_lock(me->mutex); in tsync_sibling()1508 pthread_mutex_unlock(me->mutex); in tsync_sibling()1512 pthread_cond_wait(me->cond, me->mutex); in tsync_sibling()1516 pthread_mutex_unlock(me->mutex); in tsync_sibling()[all …]
66 pthread_mutex_t mutex;// = PTHREAD_MUTEX_INITIALIZER; member
85 pthread_mutex_lock(&(pSles->mutex)); in recorderCallback()144 pthread_mutex_unlock(&(pSles->mutex)); in recorderCallback()157 pthread_mutex_lock(&(pSles->mutex)); in playerCallback()210 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