Searched refs:u_lock (Results 1 – 7 of 7) sorted by relevance
46 upgradable_lock<Mutex> u_lock(mut); in main() local48 scoped_lock<Mutex> e_lock(boost::move(u_lock)); in main()51 upgradable_lock<Mutex> u_lock(mut); in main() local54 scoped_lock<Mutex> moved(boost::move(u_lock)); in main()58 upgradable_lock<Mutex> u_lock(mut); in main() local60 scoped_lock<Mutex> e_lock(boost::move(u_lock), try_to_lock); in main()63 upgradable_lock<Mutex> u_lock(mut); in main() local66 scoped_lock<Mutex> moved(boost::move(u_lock), try_to_lock); in main()71 upgradable_lock<Mutex> u_lock(mut); in main() local73 scoped_lock<Mutex> e_lock(boost::move(u_lock), t); in main()[all …]
152 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock() local153 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() local181 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 …]
150 upgradable_lock<mutex_type> &u_lock = upgr; in sharable_lock() local151 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()
144 scoped_lock<mutex_type> &u_lock = scop; in upgradable_lock() local145 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()
118 unique_lock_adapter u_lock(lock); in wait() local122 cond_.wait(u_lock.unique_lock_); in wait()131 unique_lock_adapter u_lock(lock); in wait_for_usec() local135 cond_.wait_for(u_lock.unique_lock_, std::chrono::microseconds(usec)); in wait_for_usec()
2373 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 …]