Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Analysis/
H A 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()
/llvm-project-15.0.7/lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/
H A 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()
/llvm-project-15.0.7/lldb/examples/interposing/darwin/fd_interposing/
H A DFDInterposing.cpp530 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 …]
/llvm-project-15.0.7/lldb/test/API/api/multithreaded/
H A Dtest_breakpoint_callback.cpp.template17 mutex g_mutex;
25 lock_guard<mutex> lock(g_mutex);
44 unique_lock<mutex> lock(g_mutex);
/llvm-project-15.0.7/lldb/test/API/python_api/watchpoint/watchlocation/
H A Dmain.cpp10 std::mutex g_mutex; variable
18 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/watchpoint_set_command/
H A Dmain.cpp7 std::mutex g_mutex; variable
15 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/hello_watchlocation/
H A Dmain.cpp10 std::mutex g_mutex; variable
18 std::unique_lock<std::mutex> lock{g_mutex}; in barrier_wait()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DOptionParser.cpp19 static std::mutex g_mutex; in Prepare() local
20 lock = std::unique_lock<std::mutex>(g_mutex); in Prepare()
H A DEditline.cpp253 static std::recursive_mutex g_mutex; in GetHistory() local
255 std::lock_guard<std::recursive_mutex> guard(g_mutex); in GetHistory()
/llvm-project-15.0.7/lldb/source/Target/
H A 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()
/llvm-project-15.0.7/lldb/source/API/
H A DSBDebugger.cpp261 static std::recursive_mutex g_mutex; in Create() local
262 std::lock_guard<std::recursive_mutex> guard(g_mutex); in Create()