Home
last modified time | relevance | path

Searched refs:nested_strict_lock (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/boost/thread/
Dstrict_lock.hpp122 class nested_strict_lock class
128 BOOST_THREAD_NO_COPYABLE( nested_strict_lock)
147 explicit nested_strict_lock(Lock& lk) : in nested_strict_lock() function in boost::nested_strict_lock
159 nested_strict_lock(std::initializer_list<thread_detail::lockable_wrapper<Lock> > l_) : in nested_strict_lock() function in boost::nested_strict_lock
176 ~nested_strict_lock()BOOST_NOEXCEPT in ~nested_strict_lock()
216 struct is_strict_lock_sur_parole<nested_strict_lock<Lock> > : true_type
227 nested_strict_lock<Lock> make_nested_strict_lock(Lock& lk) in make_nested_strict_lock()
Dexternally_locked.hpp132 T& get(nested_strict_lock<Lock>& lk) in get()
140 const T& get(nested_strict_lock<Lock>& lk) const in get()
271 T& get(nested_strict_lock<Lock> const& lk) in get()
279 const T& get(nested_strict_lock<Lock> const& lk) const in get()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/nested_strict_lock/
Downs_lock_pass.cpp24 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk(lk); in main()
34 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk(lk); in main()
43 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk(lk); in main()
52 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk(lk); in main()
Dcopy_ctor_fail.cpp23 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > lk0(m0); in main()
24 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > lk1 = lk0; in main()
Dtypes_pass.cpp28 …BOOST_STATIC_ASSERT_MSG((boost::is_same<boost::nested_strict_lock<boost::unique_lock<boost::mutex>… in main()
31 …BOOST_STATIC_ASSERT_MSG((boost::is_strict_lock<boost::nested_strict_lock<boost::unique_lock<boost:… in main()
Dcopy_assign_fail.cpp24 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk0(lk0); in main()
25 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk1(lk1); in main()
Ddefault_pass.cpp39 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlg(lg); in f()
47 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlg(lg); in f()
/third_party/boost/libs/thread/example/
Dstrict_lock.cpp30 boost::nested_strict_lock<boost::unique_lock<boost::timed_mutex> > nlk(lk); in main()
36 boost::nested_strict_lock<boost::unique_lock<boost::mutex> > nlk(lk); in main()
Dba_externallly_locked.cpp105 nested_strict_lock<unique_lock<AccountManager> > guard(guard1); in AMoreComplicatedChecking2Savings()
/third_party/boost/libs/thread/doc/
Dexternal_locking.qbk496 struct is_strict_lock<nested_strict_lock<Locker> > : mpl::true_ {}
499 Well let me show what this `nested_strict_lock` class looks like and the impacts on the `externally…
501 First `nested_strict_lock` class will store on a temporary lock the `Locker`, and transfer the lock…
504 class nested_strict_lock
511 nested_strict_lock(Locker& lock)
523 ~nested_strict_lock() {
537 typedef bool (nested_strict_lock::*bool_type)() const;
538 operator bool_type() const { return &nested_strict_lock::owns_lock; }
541 BOOST_ADRESS_OF_DELETE(nested_strict_lock)
542 BOOST_HEAP_ALLOCATEION_DELETE(nested_strict_lock)
[all …]
Dmutex_concepts.qbk1220 * nested_strict_lock: "sur parole" as the user could use adopt_lock_t on unique_lock constructor ov…
2063 class nested_strict_lock;
2067 struct is_strict_lock_sur_parole<nested_strict_lock<Lock> >;
2075 nested_strict_lock<Lock> make_nested_strict_lock(Lock& lk);
2132 [section:nested_strict_lock Class template `nested_strict_lock`]
2138 class nested_strict_lock
2142 nested_strict_lock(nested_strict_lock const& m_) = delete;
2143 nested_strict_lock& operator=(nested_strict_lock const& m_) = delete;
2144 explicit nested_strict_lock(Lock& lk),
2145 ~nested_strict_lock() noexcept;
[all …]
Dthread.qbk175 …ock [link thread.synchronization.other_locks.strict_locks.nested_strict_lock `nested_strict_lock`]]
Dchanges.qbk575 …http://svn.boost.org/trac/boost/ticket/7587 #7587] Synchro: Add strict_lock and nested_strict_lock.
/third_party/boost/libs/thread/test/
DJamfile.v2667 …[ thread-compile-fail ./sync/mutual_exclusion/locks/nested_strict_lock/copy_assign_fail.cpp : : ne…
668 …[ thread-compile-fail ./sync/mutual_exclusion/locks/nested_strict_lock/copy_ctor_fail.cpp : : nest…
669 …[ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/default_pass.cpp : nested_stri…
670 …[ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/owns_lock_pass.cpp : nested_st…
671 …[ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/types_pass.cpp : nested_strict…
672 …[ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/make_nested_strict_lock_pass.c…