Home
last modified time | relevance | path

Searched defs:LockGuard (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/tokio/src/util/
Dtry_lock.rs13 pub(crate) struct LockGuard<'a, T> { struct
21 unsafe impl<T: Sync> Sync for LockGuard<'_, T> {} argument
62 impl<T> Deref for LockGuard<'_, T> { implementation
70 impl<T> DerefMut for LockGuard<'_, T> { implementation
76 impl<T> Drop for LockGuard<'_, T> { implementation
/external/llvm/lib/Support/
DThreadPool.cpp36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
64 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
77 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local
91 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
105 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreadPool.cpp36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
49 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
60 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
73 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local
87 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
101 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/external/llvm-project/llvm/lib/Support/
DThreadPool.cpp34 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
56 std::lock_guard<std::mutex> LockGuard(QueueLock); in ThreadPool() local
71 std::unique_lock<std::mutex> LockGuard(QueueLock); in wait() local
81 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
95 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/external/swiftshader/src/Common/
DMutexLock.hpp177 class LockGuard class
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(&mutex) in LockGuard() function in LockGuard
185 explicit LockGuard(sw::MutexLock *mutex) : mutex(mutex) in LockGuard() function in LockGuard
/external/llvm-project/clang/lib/Tooling/
DAllTUsExecution.cpp37 std::unique_lock<std::mutex> LockGuard(Mutex); in addResult() local
92 std::unique_lock<std::mutex> LockGuard(TUMutex); in execute() local
97 std::unique_lock<std::mutex> LockGuard(TUMutex); in execute() local
111 std::unique_lock<std::mutex> LockGuard(TUMutex); in execute() local
/external/llvm-project/libcxxabi/src/
Dcxa_guard_impl.h373 struct LockGuard { struct
376 LockGuard& operator=(LockGuard const&) = delete;
378 explicit LockGuard(const char* calling_func) in LockGuard() function
384 ~LockGuard() { in ~LockGuard()
/external/llvm/unittests/Support/
DThreadPool.cpp60 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local
67 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp121 std::unique_lock<std::mutex> LockGuard(Shard.CacheLock); in get() local
168 std::unique_lock<std::mutex> LockGuard(SharedCacheEntry.ValueLock); in getOrCreateFileSystemEntry() local
/external/llvm-project/llvm/unittests/Support/
DThreadPool.cpp59 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local
66 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
/external/llvm-project/clang/tools/clang-scan-deps/
DClangScanDeps.cpp35 std::unique_lock<std::mutex> LockGuard(Lock); in applyLocked() local
63 std::unique_lock<std::mutex> LockGuard(CacheLock); in findResourceDir() local
519 std::unique_lock<std::mutex> LockGuard(Lock); in main() local
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/
DFindAllSymbolsMain.cpp84 std::unique_lock<std::mutex> LockGuard(SymbolMutex); in Merge() local
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinker.cpp2572 std::unique_lock<std::mutex> LockGuard(ProcessedFilesMutex); in link() local
2581 std::unique_lock<std::mutex> LockGuard(ProcessedFilesMutex); in link() local