Home
last modified time | relevance | path

Searched refs:shared_value (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/atomic/test/
Datomicity.cpp180 bool test_arithmetic(boost::atomic<value_type> & shared_value, std::size_t instance) in test_arithmetic() argument
190 value_type tmp = shared_value.fetch_add(increment, boost::memory_order_relaxed); in test_arithmetic()
197 value_type tmp = shared_value.fetch_sub(increment, boost::memory_order_relaxed); in test_arithmetic()
207 bool test_bitops(boost::atomic<value_type> & shared_value, std::size_t instance) in test_bitops() argument
217 value_type tmp = shared_value.fetch_or(mod << shift, boost::memory_order_relaxed); in test_bitops()
224 value_type tmp = shared_value.fetch_and(~(1u << (shift + k)), boost::memory_order_relaxed); in test_bitops()
232 value_type tmp = shared_value.fetch_xor(mod << shift, boost::memory_order_relaxed); in test_bitops()
238 value_type tmp = shared_value.fetch_and(~mask, boost::memory_order_relaxed); in test_bitops()
Datomicity_ref.cpp186 bool test_arithmetic(value_type& shared_value, std::size_t instance) in test_arithmetic() argument
193 boost::atomic_ref<value_type> shared_value_ref(shared_value); in test_arithmetic()
214 bool test_bitops(value_type& shared_value, std::size_t instance) in test_bitops() argument
220 boost::atomic_ref<value_type> shared_value_ref(shared_value); in test_bitops()