Home
last modified time | relevance | path

Searched refs:u_lock (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dupgradable_mutex_test.cpp46 upgradable_lock<Mutex> u_lock(mut); in main() local
48 scoped_lock<Mutex> e_lock(boost::move(u_lock)); in main()
51 upgradable_lock<Mutex> u_lock(mut); in main() local
54 scoped_lock<Mutex> moved(boost::move(u_lock)); in main()
58 upgradable_lock<Mutex> u_lock(mut); in main() local
60 scoped_lock<Mutex> e_lock(boost::move(u_lock), try_to_lock); in main()
63 upgradable_lock<Mutex> u_lock(mut); in main() local
66 scoped_lock<Mutex> moved(boost::move(u_lock), try_to_lock); in main()
71 upgradable_lock<Mutex> u_lock(mut); in main() local
73 scoped_lock<Mutex> e_lock(boost::move(u_lock), t); in main()
[all …]
/third_party/boost/boost/interprocess/sync/
Dscoped_lock.hpp152 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock() local
153 if(u_lock.owns()){ in scoped_lock()
154 u_lock.mutex()->unlock_upgradable_and_lock(); in scoped_lock()
157 mp_mutex = u_lock.release(); in scoped_lock()
180 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock() local
181 if(u_lock.owns()){ in scoped_lock()
182 if((m_locked = u_lock.mutex()->try_unlock_upgradable_and_lock()) == true){ in scoped_lock()
183 mp_mutex = u_lock.release(); in scoped_lock()
187 u_lock.release(); in scoped_lock()
210 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock() local
[all …]
Dsharable_lock.hpp150 upgradable_lock<mutex_type> &u_lock = upgr; in sharable_lock() local
151 if(u_lock.owns()){ in sharable_lock()
152 u_lock.mutex()->unlock_upgradable_and_lock_sharable(); in sharable_lock()
155 mp_mutex = u_lock.release(); in sharable_lock()
Dupgradable_lock.hpp144 scoped_lock<mutex_type> &u_lock = scop; in upgradable_lock() local
145 if(u_lock.owns()){ in upgradable_lock()
146 u_lock.mutex()->unlock_and_lock_upgradable(); in upgradable_lock()
149 mp_mutex = u_lock.release(); in upgradable_lock()
/third_party/boost/boost/asio/detail/
Dstd_event.hpp118 unique_lock_adapter u_lock(lock); in wait() local
122 cond_.wait(u_lock.unique_lock_); in wait()
131 unique_lock_adapter u_lock(lock); in wait_for_usec() local
135 cond_.wait_for(u_lock.unique_lock_, std::chrono::microseconds(usec)); in wait_for_usec()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dstd_event.hpp118 unique_lock_adapter u_lock(lock); in wait() local
122 cond_.wait(u_lock.unique_lock_); in wait()
131 unique_lock_adapter u_lock(lock); in wait_for_usec() local
135 cond_.wait_for(u_lock.unique_lock_, std::chrono::microseconds(usec)); in wait_for_usec()
/third_party/boost/libs/interprocess/doc/
Dinterprocess.qbk2373 upgradable_lock<Mutex> u_lock(mut);
2375 scoped_lock<Mutex> e_lock(move(u_lock));
2378 upgradable_lock<Mutex> u_lock(mut);
2380 scoped_lock<Mutex> e_lock(move(u_lock, try_to_lock));
2384 upgradable_lock<Mutex> u_lock(mut);
2386 scoped_lock<Mutex> e_lock(move(u_lock));
2413 upgradable_lock<Mutex> u_lock(move(s_lock, try_to_lock));
2418 upgradable_lock<Mutex> u_lock(move(e_lock));
2433 upgradable_lock<Mutex> u_lock(mut);
2435 sharable_lock<Mutex> s_lock(move(u_lock));
[all …]