Home
last modified time | relevance | path

Searched refs:gMutex (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp41 std::mutex gMutex; variable
43 bool gReady GUARDED_BY(gMutex) = false;
65 std::unique_lock<std::mutex> lock(gMutex); in thread_main()
93 std::unique_lock<std::mutex> lock(gMutex); in TEST()
/frameworks/native/libs/binder/
DBufferedTextOutput.cpp91 static pthread_mutex_t gMutex = PTHREAD_MUTEX_INITIALIZER; variable
101 pthread_mutex_lock(&gMutex); in allocBufferIndex()
113 pthread_mutex_unlock(&gMutex); in allocBufferIndex()
120 pthread_mutex_lock(&gMutex); in freeBufferIndex()
123 pthread_mutex_unlock(&gMutex); in freeBufferIndex()