Searched refs:gMutex (Results 1 – 5 of 5) sorted by relevance
56 pthread_mutex_t gMutex; variable64 pthread_mutex_init(&gMutex, &mutexattr); in InitMutex()75 pthread_mutex_lock(&gMutex); in GetGlobalLock()80 pthread_mutex_unlock(&gMutex); in ReleaseGlobalLock()
126 pthread_mutex_t gMutex; variable134 pthread_mutex_init(&gMutex, &mutexattr); in InitMutex()145 pthread_mutex_lock(&gMutex); in GetGlobalLock()150 pthread_mutex_unlock(&gMutex); in ReleaseGlobalLock()
80 static std::mutex gMutex; variable146 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nInit()169 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()184 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nMakeReport()
256 static SkSpinlock* gMutex = new SkSpinlock; variable265 SkAutoSpinlock lock(*gMutex); in done()283 SkAutoSpinlock lock(*gMutex); in done()295 SkAutoSpinlock lock(*gMutex); in start()325 SkAutoSpinlock lock(*gMutex); in crash_handler()364 SkAutoSpinlock lock(*gMutex); in crash_handler()1626 SkAutoSpinlock lock(*gMutex); in main()
1037 static std::mutex gMutex; in setGlobalDebugAnnotator() local1040 std::lock_guard<std::mutex> lg(gMutex); in setGlobalDebugAnnotator()