Searched refs:externally_locked (Results 1 – 7 of 7) sorted by relevance
/third_party/boost/boost/thread/ |
D | externally_locked.hpp | 37 class externally_locked; 39 class externally_locked class 47 BOOST_THREAD_COPYABLE_AND_MOVABLE( externally_locked ) 52 externally_locked(mutex_type& mtx, const T& obj) : in externally_locked() function in boost::externally_locked 61 externally_locked(mutex_type& mtx, BOOST_THREAD_RV_REF(T) obj) : in externally_locked() function in boost::externally_locked 70 externally_locked(mutex_type& mtx) // BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(T())) in externally_locked() function in boost::externally_locked 78 externally_locked(externally_locked const& rhs) //BOOST_NOEXCEPT in externally_locked() function in boost::externally_locked 85 externally_locked(BOOST_THREAD_RV_REF(externally_locked) rhs) //BOOST_NOEXCEPT in externally_locked() function in boost::externally_locked 91 externally_locked& operator=(externally_locked const& rhs) //BOOST_NOEXCEPT in operator =() 99 externally_locked& operator=(BOOST_THREAD_RV_REF(externally_locked) rhs) // BOOST_NOEXCEPT in operator =() [all …]
|
D | externally_locked_stream.hpp | 95 class externally_locked_stream: public externally_locked<Stream&, RecursiveMutex> 97 typedef externally_locked<Stream&, RecursiveMutex> base_type;
|
/third_party/boost/libs/thread/doc/ |
D | mutex_concepts.qbk | 2477 // #include <boost/thread/externally_locked.hpp> 2479 class externally_locked; 2481 class externally_locked<T&, MutexType>; 2484 void swap(externally_locked<T, MutexType> & lhs, externally_locked<T, MutexType> & rhs); 2486 [section:externally_locked Template Class `externally_locked`] 2488 // #include <boost/thread/externally_locked.hpp> 2491 class externally_locked 2499 externally_locked(mutex_type& mtx, const T& obj); 2500 externally_locked(mutex_type& mtx,T&& obj); 2501 explicit externally_locked(mutex_type& mtx); [all …]
|
D | external_locking.qbk | 8 [section External Locking -- `strict_lock` and `externally_locked` classes] 386 The solution is to use a little bridge template `externally_locked` that controls access to a BankA… 389 class externally_locked { 393 externally_locked(T& obj, Lockable& lockable) 398 externally_locked(Lockable& lockable) 419 `externally_locked` cloaks an object of type T, and actually provides full access to that object th… 421 …ct_` of type `BankAccount`, `AccountManager` holds objects of type `externally_locked<BankAccount,… 436 externally_locked<BankAccount, AccountManager> checkingAcct_; 437 externally_locked<BankAccount, AccountManager> savingsAcct_; 442 Typically, you use `externally_locked` as shown below. Suppose you want to execute an atomic transf… [all …]
|
D | sync_streams.qbk | 145 class externally_locked_stream: public externally_locked<Stream&, RecursiveMutex>
|
D | changes.qbk | 580 * [@http://svn.boost.org/trac/boost/ticket/7593 #7593] Synchro: Add a externally_locked class.
|
/third_party/boost/libs/thread/example/ |
D | ba_externallly_locked.cpp | 56 externally_locked<BankAccount, AccountManager > checkingAcct_; 57 externally_locked<BankAccount, AccountManager > savingsAcct_;
|