Home
last modified time | relevance | path

Searched defs:try_lock (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/libcxx/src/
H A Dmutex.cpp44 mutex::try_lock() noexcept in try_lock() function in mutex
90 recursive_mutex::try_lock() noexcept in try_lock() function in recursive_mutex
117 timed_mutex::try_lock() noexcept in try_lock() function in timed_mutex
168 recursive_timed_mutex::try_lock() noexcept in try_lock() function in recursive_timed_mutex
H A Dshared_mutex.cpp40 __shared_mutex_base::try_lock() in try_lock() function in __shared_mutex_base
111 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() function in shared_timed_mutex
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMutex.h60 bool try_lock() { in try_lock() function
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
H A Dtry_lock.pass.cpp28 bool try_lock() in try_lock() function
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dmutex.pass.cpp28 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function
51 bool try_lock() { in try_lock() function
H A Dadopt_lock.pass.cpp27 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
H A Dlock.pass.cpp42 bool try_lock() in try_lock() function in L0
65 bool try_lock() in try_lock() function in L1
88 bool try_lock() in try_lock() function in L2
H A Dtry_lock.pass.cpp28 bool try_lock() in try_lock() function in L0
46 bool try_lock() in try_lock() function in L1
64 bool try_lock() in try_lock() function in L2
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Ddeadlock_detector_stress_test.cpp43 bool try_lock() { return 0 == pthread_mutex_trylock(&mu_); } in try_lock() function in PthreadMutex
71 bool try_lock() { return 0 == pthread_spin_trylock(&mu_); } in try_lock() function in PthreadSpinLock
95 bool try_lock() { return 0 == pthread_rwlock_trywrlock(&mu_); } in try_lock() function in PthreadRWLock
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreading.cpp44 bool Semaphore::try_lock() { in try_lock() function in clang::clangd::Semaphore
/llvm-project-15.0.7/libcxx/test/support/
H A Dnasty_containers.h303 bool try_lock() TEST_NOEXCEPT { return true; } in try_lock() function