Home
last modified time | relevance | path

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

/third_party/boost/boost/thread/v2/
Dshared_mutex.hpp172 mutex_t mut_; member in boost::thread_v2::shared_mutex
270 boost::lock_guard<mutex_t> _(mut_); in ~shared_mutex()
277 boost::unique_lock<mutex_t> lk(mut_); in lock()
285 boost::unique_lock<mutex_t> lk(mut_); in try_lock()
299 boost::unique_lock<mutex_t> lk(mut_); in try_lock_until()
320 boost::unique_lock<mutex_t> lk(mut_); in timed_lock()
339 boost::lock_guard<mutex_t> _(mut_); in unlock()
352 boost::unique_lock<mutex_t> lk(mut_); in lock_shared()
361 boost::unique_lock<mutex_t> lk(mut_); in try_lock_shared()
377 boost::unique_lock<mutex_t> lk(mut_); in try_lock_shared_until()
[all …]
/third_party/boost/libs/thread/example/
Dshared_monitor.cpp32 mutable mutex_type mut_; member in A
45 boost::unique_lock<mutex_type> lk(a.mut_); in A()
47 boost::shared_lock<mutex_type> lk(a.mut_); in A()
59 boost::unique_lock<mutex_type> lk1(mut_, boost::defer_lock); in operator =()
61 boost::unique_lock<mutex_type> lk2(a.mut_, boost::defer_lock); in operator =()
63 boost::shared_lock<mutex_type> lk2(a.mut_, boost::defer_lock); in operator =()
76 boost::unique_lock<mutex_type> lk1(mut_, boost::defer_lock); in compute()
78 boost::unique_lock<mutex_type> lk2(x.mut_, boost::defer_lock); in compute()
79 boost::unique_lock<mutex_type> lk3(y.mut_, boost::defer_lock); in compute()
81 boost::shared_lock<mutex_type> lk2(x.mut_, boost::defer_lock); in compute()
[all …]
Dshared_mutex.cpp667 mutable mutex_type mut_; member in Assignment::A
674 SharedLock _(a.mut_); in A()
682 Lock this_lock(mut_, boost::defer_lock); in operator =()
683 SharedLock that_lock(a.mut_, boost::defer_lock); in operator =()
692 Lock this_lock(mut_, boost::defer_lock); in swap()
693 Lock that_lock(a.mut_, boost::defer_lock); in swap()
703 Lock this_lock(mut_, boost::defer_lock); in average()
704 UpgradeLock share_that_lock(a.mut_, boost::defer_lock); in average()
/third_party/benchmark/src/
Dmutex.h79 void lock() ACQUIRE() { mut_.lock(); } in lock()
80 void unlock() RELEASE() { mut_.unlock(); } in unlock()
81 std::mutex& native_handle() { return mut_; } in native_handle()
84 std::mutex mut_;
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dmutex.h79 void lock() ACQUIRE() { mut_.lock(); } in lock()
80 void unlock() RELEASE() { mut_.unlock(); } in unlock()
81 std::mutex& native_handle() { return mut_; } in native_handle()
84 std::mutex mut_;