Home
last modified time | relevance | path

Searched refs:mutex_type (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/boost/boost/thread/
Dlock_concepts.hpp32 typedef typename Lk::mutex_type mutex_type; typedef
33 void cvt_mutex_ptr(mutex_type*) {} in cvt_mutex_ptr()
34 BOOST_CONCEPT_ASSERT(( BasicLockable<mutex_type> ));
54 mtx(*static_cast<mutex_type*>(0)) in BasicLock()
58 mutex_type& mtx;
66 typedef typename Lk::mutex_type mutex_type; typedef
67 BOOST_CONCEPT_ASSERT(( Lockable<mutex_type> ));
75 mtx(*static_cast<mutex_type*>(0)) in Lock()
79 mutex_type& mtx;
86 typedef typename Lk::mutex_type mutex_type; typedef
[all …]
Dexternally_locked.hpp45 typedef MutexType mutex_type; typedef in boost::externally_locked
52 externally_locked(mutex_type& mtx, const T& obj) : in externally_locked()
61 externally_locked(mutex_type& mtx, BOOST_THREAD_RV_REF(T) obj) : in externally_locked()
70 externally_locked(mutex_type& mtx) // BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(T())) in externally_locked()
119 T& get(strict_lock<mutex_type>& lk) in get()
125 const T& get(strict_lock<mutex_type>& lk) const in get()
134 …BOOST_STATIC_ASSERT( (is_same<mutex_type, typename Lock::mutex_type>::value)); /*< that locks the … in get()
142 …BOOST_STATIC_ASSERT( (is_same<mutex_type, typename Lock::mutex_type>::value)); /*< that locks the … in get()
158 …BOOST_STATIC_ASSERT( (is_same<mutex_type, typename Lock::mutex_type>::value)); /*< that locks the … in get()
165 mutex_type* mutex() const BOOST_NOEXCEPT in mutex()
[all …]
Dsynchronized_value.hpp51 typedef Lockable mutex_type; typedef in boost::const_strict_lock_ptr
55 boost::unique_lock<mutex_type> lk_;
166 typedef strict_lock_ptr<typename SV::value_type, typename SV::mutex_type> type;
172 typedef const_strict_lock_ptr<typename SV::value_type, typename SV::mutex_type> type;
199 typedef Lockable mutex_type; typedef in boost::const_unique_lock_ptr
298 typedef Lockable mutex_type; typedef in boost::unique_lock_ptr
378 typedef unique_lock_ptr<typename SV::value_type, typename SV::mutex_type> type;
384 typedef const_unique_lock_ptr<typename SV::value_type, typename SV::mutex_type> type;
418 typedef Lockable mutex_type; typedef in boost::synchronized_value
421 mutable mutex_type mtx_;
[all …]
Dstrict_lock.hpp33 typedef Lockable mutex_type; typedef in boost::strict_lock
47 explicit strict_lock(mutex_type& mtx) : in strict_lock()
80 mutex_type* mutex() const BOOST_NOEXCEPT in mutex()
96 bool owns_lock(const mutex_type* l) const BOOST_NOEXCEPT in owns_lock()
107 mutex_type& mtx_;
126 typedef typename Lock::mutex_type mutex_type; /*< Name the lockable type locked by Lock >*/ typedef in boost::nested_strict_lock
185 mutex_type* mutex() const BOOST_NOEXCEPT in mutex()
201 bool owns_lock(mutex_type const* l) const BOOST_NOEXCEPT in owns_lock()
Dpoly_lockable_adapter.hpp24 typedef Mutex mutex_type; typedef in boost::poly_basic_lockable_adapter
27 mutex_type& mtx() const in mtx()
31 mutable mutex_type mtx_; /*< mutable so that it can be modified by const functions >*/
56 typedef Mutex mutex_type; typedef in boost::poly_lockable_adapter
70 typedef Mutex mutex_type; typedef in boost::poly_timed_lockable_adapter
Dlockable_adapter.hpp25 typedef BasicLockable mutex_type; typedef in boost::basic_lockable_adapter
28 mutex_type& lockable() const in lockable()
32 mutable mutex_type lockable_; /*< mutable so that it can be modified by const functions >*/
57 typedef Lockable mutex_type; typedef in boost::lockable_adapter
71 typedef TimedLock mutex_type; typedef in boost::timed_lockable_adapter
92 typedef SharableLock mutex_type; typedef in boost::shared_lockable_adapter
127 typedef UpgradableLock mutex_type; typedef in boost::upgrade_lockable_adapter
Dreverse_lock.hpp21 typedef typename Lock::mutex_type mutex_type; typedef in boost::reverse_lock
43 mutex_type* mtx;
/third_party/boost/boost/interprocess/sync/
Dsharable_lock.hpp58 typedef SharableMutex mutex_type; typedef in boost::interprocess::sharable_lock
62 explicit sharable_lock(scoped_lock<mutex_type>&);
82 explicit sharable_lock(mutex_type& m) in sharable_lock()
89 sharable_lock(mutex_type& m, defer_lock_type) in sharable_lock()
96 sharable_lock(mutex_type& m, accept_ownership_type) in sharable_lock()
108 sharable_lock(mutex_type& m, try_to_lock_type) in sharable_lock()
120 sharable_lock(mutex_type& m, const boost::posix_time::ptime& abs_time) in sharable_lock()
132 sharable_lock(BOOST_RV_REF(sharable_lock<mutex_type>) upgr) in sharable_lock()
150 upgradable_lock<mutex_type> &u_lock = upgr; in sharable_lock()
173 scoped_lock<mutex_type> &e_lock = scop; in sharable_lock()
[all …]
Dupgradable_lock.hpp58 typedef UpgradableMutex mutex_type; typedef in boost::interprocess::upgradable_lock
62 explicit upgradable_lock(scoped_lock<mutex_type>&);
74 explicit upgradable_lock(mutex_type& m) in upgradable_lock()
81 upgradable_lock(mutex_type& m, defer_lock_type) in upgradable_lock()
88 upgradable_lock(mutex_type& m, accept_ownership_type) in upgradable_lock()
100 upgradable_lock(mutex_type& m, try_to_lock_type) in upgradable_lock()
112 upgradable_lock(mutex_type& m, const boost::posix_time::ptime& abs_time) in upgradable_lock()
126 upgradable_lock(BOOST_RV_REF(upgradable_lock<mutex_type>) upgr) in upgradable_lock()
144 scoped_lock<mutex_type> &u_lock = scop; in upgradable_lock()
172 sharable_lock<mutex_type> &s_lock = shar; in upgradable_lock()
[all …]
Dscoped_lock.hpp66 typedef Mutex mutex_type; typedef in boost::interprocess::scoped_lock
79 explicit scoped_lock(mutex_type& m) in scoped_lock()
86 scoped_lock(mutex_type& m, defer_lock_type) in scoped_lock()
93 scoped_lock(mutex_type& m, accept_ownership_type) in scoped_lock()
105 scoped_lock(mutex_type& m, try_to_lock_type) in scoped_lock()
117 scoped_lock(mutex_type& m, const boost::posix_time::ptime& abs_time) in scoped_lock()
152 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock()
180 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock()
210 upgradable_lock<mutex_type> &u_lock = upgr; in scoped_lock()
241 sharable_lock<mutex_type> &s_lock = shar; in scoped_lock()
[all …]
/third_party/boost/boost/log/sinks/
Dbasic_sink_frontend.hpp60 typedef boost::log::aux::light_rw_mutex mutex_type; typedef in boost::sinks::basic_sink_frontend
64 mutable mutex_type m_Mutex;
89 BOOST_LOG_EXPR_IF_MT(boost::log::aux::exclusive_lock_guard< mutex_type > lock(m_Mutex);) in set_filter()
97 BOOST_LOG_EXPR_IF_MT(boost::log::aux::exclusive_lock_guard< mutex_type > lock(m_Mutex);) in reset_filter()
107 BOOST_LOG_EXPR_IF_MT(boost::log::aux::exclusive_lock_guard< mutex_type > lock(m_Mutex);) in set_exception_handler()
116 BOOST_LOG_EXPR_IF_MT(boost::log::aux::exclusive_lock_guard< mutex_type > lock(m_Mutex);) in reset_exception_handler()
127 BOOST_LOG_EXPR_IF_MT(boost::log::aux::shared_lock_guard< mutex_type > lock(m_Mutex);) in will_consume()
150 mutex_type& frontend_mutex() const { return m_Mutex; } in frontend_mutex()
175 BOOST_LOG_EXPR_IF_MT(boost::log::aux::shared_lock_guard< mutex_type > lock(m_Mutex);) in feed_record()
198 boost::log::aux::shared_lock_guard< mutex_type > frontend_lock(this->frontend_mutex()); in try_feed_record()
[all …]
Dbounded_fifo_queue.hpp67 typedef boost::mutex mutex_type; typedef in boost::sinks::bounded_fifo_queue
71 mutex_type m_mutex;
93 unique_lock< mutex_type > lock(m_mutex); in enqueue()
109 unique_lock< mutex_type > lock(m_mutex, try_to_lock); in try_enqueue()
136 lock_guard< mutex_type > lock(m_mutex); in try_dequeue()
152 unique_lock< mutex_type > lock(m_mutex); in dequeue_ready()
177 lock_guard< mutex_type > lock(m_mutex); in interrupt_dequeue()
Dunbounded_ordering_queue.hpp72 typedef boost::mutex mutex_type; typedef in boost::sinks::unbounded_ordering_queue
85 mutex_type m_mutex;
131 lock_guard< mutex_type > lock(m_mutex); in enqueue()
138 unique_lock< mutex_type > lock(m_mutex, try_to_lock); in try_enqueue()
151 lock_guard< mutex_type > lock(m_mutex); in try_dequeue_ready()
171 lock_guard< mutex_type > lock(m_mutex); in try_dequeue()
186 unique_lock< mutex_type > lock(m_mutex); in dequeue_ready()
221 lock_guard< mutex_type > lock(m_mutex); in interrupt_dequeue()
Dbounded_ordering_queue.hpp76 typedef boost::mutex mutex_type; typedef in boost::sinks::bounded_ordering_queue
89 mutex_type m_mutex;
135 unique_lock< mutex_type > lock(m_mutex); in enqueue()
151 unique_lock< mutex_type > lock(m_mutex, try_to_lock); in try_enqueue()
172 lock_guard< mutex_type > lock(m_mutex); in try_dequeue_ready()
194 lock_guard< mutex_type > lock(m_mutex); in try_dequeue()
211 unique_lock< mutex_type > lock(m_mutex); in dequeue_ready()
247 lock_guard< mutex_type > lock(m_mutex); in interrupt_dequeue()
/third_party/boost/libs/thread/example/
Dshared_monitor.cpp25 typedef boost::mutex mutex_type; typedef in A
27 typedef boost::shared_mutex mutex_type;
32 mutable mutex_type mut_;
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()
[all …]
/third_party/boost/boost/geometry/srs/
Dshared_grids_std.hpp37 typedef std::shared_mutex mutex_type; typedef in boost::geometry::srs::shared_grids_std
40 typedef std::shared_mutex mutex_type;
42 typedef std::shared_timed_mutex mutex_type;
48 std::shared_lock<mutex_type> lock(mutex); in size()
54 std::shared_lock<mutex_type> lock(mutex); in empty()
71 std::shared_lock<mutex_type> lock;
84 std::unique_lock<mutex_type> lock;
89 mutable mutex_type mutex;
/third_party/boost/boost/interprocess/sync/detail/
Dcondition_any_algorithm.hpp68 typedef typename ConditionAnyMembers::mutex_type mutex_type; typedef in boost::interprocess::ipcdetail::condition_any_algorithm
87 scoped_lock<mutex_type> internal_lock(data.get_mutex()); in signal()
119 scoped_lock<mutex_type> internal_lock(data.get_mutex()); in do_wait()
124 scoped_lock<mutex_type> internal_unlock; in do_wait()
137 scoped_lock<mutex_type> internal_lock(data.get_mutex()); in do_timed_wait()
143 scoped_lock<mutex_type> internal_unlock; in do_timed_wait()
/third_party/boost/libs/thread/test/
Dtest_mutex.cpp29 typedef M mutex_type; typedef
34 mutex_type mutex; in operator ()()
65 typedef M mutex_type; typedef
70 mutex_type mutex; in operator ()()
189 typedef M mutex_type; typedef
199 test_lock_times_out_if_other_thread_has_lock<mutex_type>()(); in operator ()()
201 mutex_type mutex; in operator ()()
259 typedef M mutex_type; typedef
264 mutex_type mx; in operator ()()
/third_party/boost/libs/interprocess/test/
Dmutex_test_template.hpp38 typedef M mutex_type; typedef
39 typedef boost::interprocess::scoped_lock<mutex_type> lock_type;
44 mutex_type interprocess_mutex; in operator ()()
65 typedef M mutex_type; typedef
66 typedef boost::interprocess::scoped_lock<mutex_type> try_to_lock_type;
70 mutex_type interprocess_mutex; in operator ()()
99 typedef M mutex_type; typedef
100 typedef boost::interprocess::scoped_lock<mutex_type> timed_lock_type;
104 mutex_type interprocess_mutex; in operator ()()
137 typedef M mutex_type; typedef
[all …]
/third_party/boost/libs/log/src/
Dthreadsafe_queue.cpp50 typedef adaptive_mutex mutex_type; typedef in boost::aux::threadsafe_queue_impl_generic
61 mutex_type mutex; in BOOST_ALIGNMENT()
63 unsigned char padding[128U - (sizeof(node_base*) + sizeof(mutex_type)) % 128U]; in BOOST_ALIGNMENT()
99 exclusive_lock_guard< mutex_type > _(m_Tail.mutex); in push()
106 exclusive_lock_guard< mutex_type > _(m_Head.mutex); in try_pop()
/third_party/boost/libs/type_erasure/src/
Ddynamic_binding.cpp25 typedef ::boost::shared_mutex mutex_type; typedef
32 mutex_type second;
44 ::boost::unique_lock<mutex_type> lock(data->second); in register_function_impl()
50 ::boost::shared_lock<mutex_type> lock(data->second); in lookup_function_impl()
/third_party/boost/boost/signals2/
Dsignal_type.hpp48 BOOST_PARAMETER_TEMPLATE_KEYWORD(mutex_type)
69 parameter::optional<keywords::tag::mutex_type>
111 parameter::value_type<args, keywords::tag::mutex_type, mutex>::type mutex_type; typedef in boost::signals2::signal_type
121 mutex_type
/third_party/boost/boost/interprocess/allocators/detail/
Dallocator_common.hpp725 typedef typename segment_manager::mutex_family::mutex_type mutex_type; typedef in boost::interprocess::ipcdetail::shared_pool_impl
741 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in allocate_node()
750 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in deallocate_node()
760 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in allocate_nodes()
769 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in deallocate_nodes()
778 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in deallocate_nodes()
787 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in deallocate_free_blocks()
798 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in purge_blocks()
807 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in inc_ref_count()
816 boost::interprocess::scoped_lock<mutex_type> guard(m_header); in dec_ref_count()
[all …]
/third_party/boost/libs/smart_ptr/extras/src/
Dsp_collector.cpp29 typedef boost::detail::lightweight_mutex mutex_type; typedef
31 static mutex_type & get_mutex() in get_mutex()
33 static mutex_type m; in get_mutex()
157 mutex_type::scoped_lock lock(get_mutex()); in find_unreachable_objects()
206 mutex_type::scoped_lock lock(get_mutex()); in free_unreachable_objects()
238 mutex_type::scoped_lock lock(get_mutex()); in sp_scalar_constructor_hook()
253 mutex_type::scoped_lock lock(get_mutex()); in sp_scalar_destructor_hook()
/third_party/boost/boost/signals2/detail/
Dsignal_template.hpp158 _mutex(new mutex_type())
163 garbage_collecting_lock<mutex_type> lock(*_mutex);
169 garbage_collecting_lock<mutex_type> lock(*_mutex);
175 garbage_collecting_lock<mutex_type> lock(*_mutex);
230 garbage_collecting_lock<mutex_type> list_lock(*_mutex);
254 garbage_collecting_lock<mutex_type> list_lock(*_mutex);
300 unique_lock<mutex_type> lock(*_mutex);
305 unique_lock<mutex_type> lock(*_mutex);
312 typedef Mutex mutex_type;
432 void nolock_cleanup_connections_from(garbage_collecting_lock<mutex_type> &lock,
[all …]

1234