Home
last modified time | relevance | path

Searched refs:s_lock (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dupgradable_mutex_test.cpp84 sharable_lock<Mutex> s_lock(mut); in main() local
86 scoped_lock<Mutex> e_lock(boost::move(s_lock), try_to_lock); in main()
89 sharable_lock<Mutex> s_lock(mut); in main() local
92 scoped_lock<Mutex> moved(boost::move(s_lock), try_to_lock); in main()
108 sharable_lock<Mutex> s_lock(mut); in main() local
110 upgradable_lock<Mutex> u_lock(boost::move(s_lock), try_to_lock); in main()
113 sharable_lock<Mutex> s_lock(mut); in main() local
116 upgradable_lock<Mutex> moved(boost::move(s_lock), try_to_lock); in main()
134 sharable_lock<Mutex> s_lock(boost::move(lock)); in main() local
135 lock.swap(s_lock); in main()
[all …]
/third_party/boost/boost/interprocess/sync/
Dupgradable_lock.hpp172 sharable_lock<mutex_type> &s_lock = shar; in upgradable_lock() local
173 if(s_lock.owns()){ in upgradable_lock()
174 if((m_locked = s_lock.mutex()->try_unlock_sharable_and_lock_upgradable()) == true){ in upgradable_lock()
175 mp_mutex = s_lock.release(); in upgradable_lock()
179 s_lock.release(); in upgradable_lock()
Dscoped_lock.hpp241 sharable_lock<mutex_type> &s_lock = shar; in scoped_lock() local
242 if(s_lock.owns()){ in scoped_lock()
243 if((m_locked = s_lock.mutex()->try_unlock_sharable_and_lock()) == true){ in scoped_lock()
244 mp_mutex = s_lock.release(); in scoped_lock()
248 s_lock.release(); in scoped_lock()
/third_party/curl/lib/
Deasy.c96 static curl_simple_lock s_lock = CURL_SIMPLE_LOCK_INIT; variable
97 #define global_init_lock() curl_simple_lock_lock(&s_lock)
98 #define global_init_unlock() curl_simple_lock_unlock(&s_lock)
/third_party/boost/libs/interprocess/doc/
Dinterprocess.qbk2321 scoped_lock s_lock(mutex);
2327 sharable_lock(move(s_lock));
2389 sharable_lock<Mutex> s_lock(mut);
2391 scoped_lock<Mutex> e_lock(move(s_lock, try_to_lock));
2411 sharable_lock<Mutex> s_lock(mut);
2413 upgradable_lock<Mutex> u_lock(move(s_lock, try_to_lock));
2435 sharable_lock<Mutex> s_lock(move(u_lock));
2440 sharable_lock<Mutex> s_lock(move(e_lock));
2460 sharable_lock<Mutex> s_lock(move(e_lock));
2473 sharable_lock<Mutex> s_lock(move(e_lock));
[all …]