Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libc++/include/
H A Dmutex30 bool try_lock();
47 bool try_lock() noexcept;
64 bool try_lock();
82 bool try_lock() noexcept;
150 bool try_lock();
171 int try_lock(L1&, L2&, L3&...);
226 bool try_lock() _NOEXCEPT;
250 bool try_lock() _NOEXCEPT;
294 bool try_lock() _NOEXCEPT;
333 try_lock(_L0& __l0, _L1& __l1)
[all …]
H A Dshared_mutex33 bool try_lock();
56 bool try_lock();
102 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_base63 bool try_lock() _NOEXCEPT _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_capability(true));
137 : __m_(_VSTD::addressof(__m)), __owns_(__m.try_lock()) {}
181 bool try_lock();
228 unique_lock<_Mutex>::try_lock()
231 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex");
233 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked");
234 __owns_ = __m_->try_lock();
/freebsd-12.1/contrib/libc++/src/
H A Dmutex.cpp37 mutex::try_lock() _NOEXCEPT in try_lock() function in mutex
83 recursive_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_mutex
110 timed_mutex::try_lock() _NOEXCEPT in try_lock() function in timed_mutex
161 recursive_timed_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_timed_mutex
H A Dshared_mutex.cpp37 __shared_mutex_base::try_lock() in try_lock() function in __shared_mutex_base
108 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() function in shared_timed_mutex
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp170 api_lock.try_lock(); in UpdateThreadList()
312 api_lock.try_lock(); in CreateRegisterContextForThread()
399 api_lock.try_lock(); in CreateThread()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DMutex.h127 bool try_lock() { in try_lock() function
/freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/
H A DMIUtilThreadBaseStd.cpp327 bool CMIUtilThreadMutex::TryLock() { return m_mutex.try_lock(); } in TryLock()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DSymbolFile.cpp167 [this] { return this->GetModuleMutex().try_lock(); }) in AssertModuleLock()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp325 if (!locker.try_lock()) { in Disconnect()
364 if (!locker.try_lock()) { in Read()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DModuleList.cpp286 if (!lock.try_lock()) in RemoveOrphans()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1643 if (stop_stack_lock.try_lock()) { in UpdateThreadIDList()