Searched refs:g_mutex (Results 1 – 11 of 11) sorted by relevance
129 std::mutex g_mutex; in testBlockInCriticalSectionLockGuard() local130 std::not_real_lock<std::mutex> not_real_lock(g_mutex); in testBlockInCriticalSectionLockGuard()133 std::lock_guard<std::mutex> lock(g_mutex); in testBlockInCriticalSectionLockGuard()143 std::mutex g_mutex; in testBlockInCriticalSectionUniqueLock() local144 std::not_real_lock<std::mutex> not_real_lock(g_mutex); in testBlockInCriticalSectionUniqueLock()147 std::unique_lock<std::mutex> lock(g_mutex); in testBlockInCriticalSectionUniqueLock()
17 std::mutex g_mutex; variable23 std::unique_lock<std::mutex> func_lock(g_mutex); in step_out_of_here()40 std::unique_lock<std::mutex> main_lock(g_mutex); in main()
530 Locker locker(&g_mutex); in socket$__interposed__()558 Locker locker(&g_mutex); in socketpair$__interposed__()583 Locker locker(&g_mutex); in open$__interposed__()613 Locker locker(&g_mutex); in open$NOCANCEL$__interposed__()635 Locker locker(&g_mutex); in __open_extended$__interposed__()656 Locker locker(&g_mutex); in kqueue$__interposed__()674 Locker locker(&g_mutex); in shm_open$__interposed__()695 Locker locker(&g_mutex); in accept$__interposed__()716 Locker locker(&g_mutex); in accept$NOCANCEL$__interposed__()735 Locker locker(&g_mutex); in dup$__interposed__()[all …]
17 mutex g_mutex;25 lock_guard<mutex> lock(g_mutex);44 unique_lock<mutex> lock(g_mutex);
10 std::mutex g_mutex; variable18 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
7 std::mutex g_mutex; variable15 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
19 static std::mutex g_mutex; in Prepare() local20 lock = std::unique_lock<std::mutex>(g_mutex); in Prepare()
253 static std::recursive_mutex g_mutex; in GetHistory() local255 std::lock_guard<std::recursive_mutex> guard(g_mutex); in GetHistory()
42 static std::mutex *g_mutex = nullptr; in GetLanguagesMutex() local46 g_mutex = new std::mutex(); // NOTE: INTENTIONAL LEAK due to global in GetLanguagesMutex()50 return *g_mutex; in GetLanguagesMutex()
261 static std::recursive_mutex g_mutex; in Create() local262 std::lock_guard<std::recursive_mutex> guard(g_mutex); in Create()