Home
last modified time | relevance | path

Searched refs:try_lock (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dmutex29 bool try_lock();
46 bool try_lock() noexcept;
63 bool try_lock();
81 bool try_lock() noexcept;
149 bool try_lock();
170 int try_lock(L1&, L2&, L3&...);
227 bool try_lock() _NOEXCEPT;
251 bool try_lock() _NOEXCEPT;
295 bool try_lock() _NOEXCEPT;
334 try_lock(_L0& __l0, _L1& __l1)
[all …]
H A Dshared_mutex32 bool try_lock();
55 bool try_lock();
101 bool try_lock();
166 bool try_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_capability(true));
192 _LIBCPP_INLINE_VISIBILITY bool try_lock() { return __base.try_lock(); }
218 bool try_lock();
400 bool try_lock();
449 shared_lock<_Mutex>::try_lock()
452 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex");
454 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
H A D__mutex_base49 bool try_lock() _NOEXCEPT _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_capability(true));
124 : __m_(_VSTD::addressof(__m)), __owns_(__m.try_lock()) {}
165 bool try_lock();
211 unique_lock<_Mutex>::try_lock()
214 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex");
216 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked");
217 __owns_ = __m_->try_lock();
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dmutex.cpp39 mutex::try_lock() noexcept in try_lock() function in mutex
85 recursive_mutex::try_lock() noexcept in try_lock() function in recursive_mutex
112 timed_mutex::try_lock() noexcept in try_lock() function in timed_mutex
163 recursive_timed_mutex::try_lock() noexcept in try_lock() function in recursive_timed_mutex
H A Dshared_mutex.cpp39 __shared_mutex_base::try_lock() in try_lock() function in __shared_mutex_base
110 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() function in shared_timed_mutex
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DMutex.h60 bool try_lock() { in try_lock() function
62 return impl.try_lock(); in try_lock()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp172 (void)api_lock.try_lock(); // See above. in UpdateThreadList()
314 (void)api_lock.try_lock(); // See above. in CreateRegisterContextForThread()
401 (void)api_lock.try_lock(); // See above. in CreateThread()
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DSymbolFile.cpp151 [this] { return this->GetModuleMutex().try_lock(); }) in AssertModuleLock()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp319 if (!locker.try_lock()) { in Disconnect()
362 if (!locker.try_lock()) { in Read()
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DModuleList.cpp296 if (!lock.try_lock()) in RemoveOrphans()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2677 bool acquired = static_cast<std::recursive_mutex *>(Mutex)->try_lock(); in start()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1566 if (stop_stack_lock.try_lock()) { in UpdateThreadIDList()