Home
last modified time | relevance | path

Searched refs:g_mutex (Results 1 – 15 of 15) sorted by relevance

/external/perfetto/test/cts/producer/jni/
Dfake_producer_jni.cc28 static std::mutex g_mutex; variable
43 std::unique_lock<std::mutex> lock(g_mutex); in ListenAndRespond()
67 std::lock_guard<std::mutex> guard(g_mutex); in ListenAndRespond()
78 std::lock_guard<std::mutex> guard(g_mutex); in Java_android_perfetto_producer_ProducerActivity_quitTaskRunner()
87 std::lock_guard<std::mutex> guard(g_mutex); in Java_android_perfetto_producer_ProducerIsolatedService_quitTaskRunner()
95 std::lock_guard<std::mutex> guard(g_mutex); in Java_android_perfetto_producer_ProducerService_quitTaskRunner()
/external/llvm-project/clang/test/Analysis/
Dblock-in-critical-section.cpp129 std::mutex g_mutex; in testBlockInCriticalSectionLockGuard() local
130 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() local
144 std::not_real_lock<std::mutex> not_real_lock(g_mutex); in testBlockInCriticalSectionUniqueLock()
147 std::unique_lock<std::mutex> lock(g_mutex); in testBlockInCriticalSectionUniqueLock()
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_tls.c42 static CRITICAL_SECTION g_mutex = { variable
92 EnterCriticalSection(&g_mutex); in stw_tls_init()
95 LeaveCriticalSection(&g_mutex); in stw_tls_init()
220 EnterCriticalSection(&g_mutex); in stw_tls_cleanup()
226 LeaveCriticalSection(&g_mutex); in stw_tls_cleanup()
244 EnterCriticalSection(&g_mutex); in stw_tls_lookup_pending_data()
258 LeaveCriticalSection(&g_mutex); in stw_tls_lookup_pending_data()
/external/llvm-project/lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/
Dmain.cpp17 std::mutex g_mutex; variable
23 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()
/external/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp238 static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; variable
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__()
[all …]
/external/llvm-project/lldb/test/API/api/multithreaded/
Dtest_breakpoint_callback.cpp.template17 mutex g_mutex;
25 lock_guard<mutex> lock(g_mutex);
44 unique_lock<mutex> lock(g_mutex);
/external/webrtc/rtc_base/third_party/sigslot/
Dsigslot.cc16 static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; in get_mutex() local
17 return &g_mutex; in get_mutex()
/external/llvm-project/lldb/test/API/python_api/watchpoint/watchlocation/
Dmain.cpp10 std::mutex g_mutex; variable
18 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
/external/llvm-project/lldb/test/API/commands/watchpoints/hello_watchlocation/
Dmain.cpp10 std::mutex g_mutex; variable
18 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
/external/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_set_command/
Dmain.cpp7 std::mutex g_mutex; variable
15 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
/external/llvm-project/lldb/source/Host/common/
DOptionParser.cpp19 static std::mutex g_mutex; in Prepare() local
20 lock = std::unique_lock<std::mutex>(g_mutex); in Prepare()
DEditline.cpp247 static std::recursive_mutex g_mutex; in GetHistory() local
249 std::lock_guard<std::recursive_mutex> guard(g_mutex); in GetHistory()
/external/llvm-project/lldb/source/Target/
DLanguage.cpp42 static std::mutex *g_mutex = nullptr; in GetLanguagesMutex() local
46 g_mutex = new std::mutex(); // NOTE: INTENTIONAL LEAK due to global in GetLanguagesMutex()
50 return *g_mutex; in GetLanguagesMutex()
DPlatform.cpp143 static std::recursive_mutex g_mutex; in GetPlatformListMutex() local
144 return g_mutex; in GetPlatformListMutex()
/external/llvm-project/lldb/source/API/
DSBDebugger.cpp213 static std::recursive_mutex g_mutex; in Create() local
214 std::lock_guard<std::recursive_mutex> guard(g_mutex); in Create()