Searched refs:g_mutex (Results 1 – 7 of 7) sorted by relevance
32 static ZSTD_pthread_mutex_t g_mutex; variable60 if (!ZSTD_pthread_mutex_init(&g_mutex, NULL)) { in TRACE_enable()75 ZSTD_pthread_mutex_destroy(&g_mutex); in TRACE_finish()92 ZSTD_pthread_mutex_lock(&g_mutex); in TRACE_log()120 ZSTD_pthread_mutex_unlock(&g_mutex); in TRACE_log()
23 static std::mutex g_mutex; in DownloadSymbolFileAsync() local27 std::lock_guard<std::mutex> guard(g_mutex); in DownloadSymbolFileAsync()
19 static std::mutex g_mutex; in Prepare() local20 lock = std::unique_lock<std::mutex>(g_mutex); in Prepare()
241 static std::recursive_mutex g_mutex; in GetHistory() local243 std::lock_guard<std::recursive_mutex> guard(g_mutex); in GetHistory()
73 static std::mutex *g_mutex = nullptr; in GetLanguagesMutex() local77 g_mutex = new std::mutex(); // NOTE: INTENTIONAL LEAK due to global in GetLanguagesMutex()81 return *g_mutex; in GetLanguagesMutex()
284 static std::recursive_mutex g_mutex; in Create() local285 std::lock_guard<std::recursive_mutex> guard(g_mutex); in Create()