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
117 pthread_mutex_lock(&gMutex); in allocBufferIndex()
129 pthread_mutex_unlock(&gMutex); in allocBufferIndex()
136 pthread_mutex_lock(&gMutex); in freeBufferIndex()
139 pthread_mutex_unlock(&gMutex); in freeBufferIndex()