Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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&...);
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_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_base50 bool try_lock() _NOEXCEPT _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_capability(true));
125 : __m_(_VSTD::addressof(__m)), __owns_(__m.try_lock()) {}
166 bool try_lock();
213 unique_lock<_Mutex>::try_lock()
216 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex");
218 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked");
219 __owns_ = __m_->try_lock();
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dmutex114 try_lock() noexcept
233 try_lock() noexcept
299 try_lock() noexcept
366 try_lock()
449 try_lock()
556 /** @brief Generic try_lock.
557 * @param __l1 Meets Lockable requirements (try_lock() may throw).
558 * @param __l2 Meets Lockable requirements (try_lock() may throw).
559 * @param __l3 Meets Lockable requirements (try_lock() may throw).
560 * @return Returns -1 if all try_lock() calls return true. Otherwise returns
[all …]
H A Dshared_mutex196 try_lock()
330 try_lock()
416 bool try_lock() { return _M_impl.try_lock(); }
469 bool try_lock() { return _Base::try_lock(); }
773 try_lock()
H A Dcondition_variable252 // Like above, but mutex is not required to have try_lock.
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dmutex126 try_lock() noexcept
255 try_lock() noexcept
330 try_lock() noexcept
397 try_lock()
480 try_lock()
575 if (!__locks[__i].try_lock())
606 /** @brief Generic try_lock.
607 * @param __l1 Meets Lockable requirements (try_lock() may throw).
608 * @param __l2 Meets Lockable requirements (try_lock() may throw).
609 * @param __l3 Meets Lockable requirements (try_lock() may throw).
[all …]
H A Dshared_mutex201 try_lock()
335 try_lock()
421 bool try_lock() { return _M_impl.try_lock(); }
474 bool try_lock() { return _Base::try_lock(); }
778 try_lock()
H A Dcondition_variable240 // Like above, but mutex is not required to have try_lock.
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DMutex.h60 bool try_lock() { in try_lock() function
62 return impl.try_lock(); in try_lock()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dunique_lock.h80 : _M_device(std::__addressof(__m)), _M_owns(_M_device->try_lock()) in _GLIBCXX_VISIBILITY()
147 try_lock() in _GLIBCXX_VISIBILITY()
155 _M_owns = _M_device->try_lock(); in _GLIBCXX_VISIBILITY()
H A Dstd_mutex.h121 try_lock() noexcept in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dunique_lock.h77 : _M_device(std::__addressof(__m)), _M_owns(_M_device->try_lock()) in _GLIBCXX_VISIBILITY()
144 try_lock() in _GLIBCXX_VISIBILITY()
152 _M_owns = _M_device->try_lock(); in _GLIBCXX_VISIBILITY()
H A Dstd_mutex.h108 try_lock() noexcept in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20123377 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
3378 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
3417 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
3418 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
3429 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
3430 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
3478 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
3479 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
3486 * testsuite/30_threads/try_lock/1.cc: Likewise.
3487 * testsuite/30_threads/try_lock/2.cc: Likewise.
[all …]
H A DChangeLog-20151587 (__shared_mutex_pthread::lock, __shared_mutex_pthread::try_lock,
1641 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1642 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1662 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1663 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1799 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1800 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1846 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1847 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1859 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
[all …]
H A DChangeLog-2008662 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
983 * include/std/mutex (try_lock): Implement generic try_lock.
984 * testsuite/30_threads/try_lock/1.cc: New.
985 * testsuite/30_threads/try_lock/2.cc: Likewise.
986 * testsuite/30_threads/try_lock/3.cc: Likewise.
1421 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1422 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1431 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1432 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1461 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
[all …]
H A DChangeLog-20132797 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
2798 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
2985 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2986 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
3031 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
3032 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
3043 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
3045 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
3102 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
3103 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
[all …]
H A DChangeLog-20142793 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2794 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2854 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2855 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2872 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2873 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2940 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2941 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2949 * testsuite/30_threads/try_lock/1.cc: Likewise.
2950 * testsuite/30_threads/try_lock/2.cc: Likewise.
[all …]
H A DChangeLog-20182955 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2956 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2974 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
2976 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
3028 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
3029 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
3036 * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise.
3037 * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
3038 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: Likewise.
3085 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
[all …]
H A DChangeLog-20203803 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
3804 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
3851 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
3852 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
3864 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
3865 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
3898 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
3899 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
3902 * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise.
3903 * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
[all …]
H A DChangeLog-20163299 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
3300 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
3327 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
3328 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
3337 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
3338 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
3368 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
3369 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
3371 * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise.
3372 * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/docs/
H A DCxx2aStatusIssuesStatus.csv66 "`3030 <https://wg21.link/LWG3030>`__","Who shall meet the requirements of ``try_lock``\ ?","Jackso…

12