Searched refs:unblocked_count_mutex (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/libs/thread/test/ |
D | test_shared_mutex.cpp | 34 boost::mutex unblocked_count_mutex; in BOOST_AUTO_TEST_CASE() local 43 …oost::shared_lock<boost::shared_mutex> >(rw_mutex,unblocked_count,unblocked_count_mutex,unblocked_… in BOOST_AUTO_TEST_CASE() 48 boost::unique_lock<boost::mutex> lk(unblocked_count_mutex); in BOOST_AUTO_TEST_CASE() 55 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,unblocked_count,number_of_threads); in BOOST_AUTO_TEST_CASE() 68 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,max_simultaneous_running,number_of_threads); in BOOST_AUTO_TEST_CASE() 82 boost::mutex unblocked_count_mutex; in BOOST_AUTO_TEST_CASE() local 91 …oost::unique_lock<boost::shared_mutex> >(rw_mutex,unblocked_count,unblocked_count_mutex,unblocked_… in BOOST_AUTO_TEST_CASE() 97 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,unblocked_count,1U); in BOOST_AUTO_TEST_CASE() 110 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,unblocked_count,number_of_threads); in BOOST_AUTO_TEST_CASE() 111 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,max_simultaneous_running,1u); in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_shared_mutex_part_2.cpp | 68 boost::mutex unblocked_count_mutex; in BOOST_AUTO_TEST_CASE() local 77 …ost::upgrade_lock<boost::shared_mutex> >(rw_mutex,unblocked_count,unblocked_count_mutex,unblocked_… in BOOST_AUTO_TEST_CASE() 83 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,unblocked_count,1U); in BOOST_AUTO_TEST_CASE() 96 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,unblocked_count,number_of_threads); in BOOST_AUTO_TEST_CASE() 97 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,max_simultaneous_running,1u); in BOOST_AUTO_TEST_CASE() 108 boost::mutex unblocked_count_mutex; in BOOST_AUTO_TEST_CASE() local 119 …oost::shared_lock<boost::shared_mutex> >(rw_mutex,unblocked_count,unblocked_count_mutex,unblocked_… in BOOST_AUTO_TEST_CASE() 123 …ost::upgrade_lock<boost::shared_mutex> >(rw_mutex,unblocked_count,unblocked_count_mutex,unblocked_… in BOOST_AUTO_TEST_CASE() 126 boost::unique_lock<boost::mutex> lk(unblocked_count_mutex); in BOOST_AUTO_TEST_CASE() 132 CHECK_LOCKED_VALUE_EQUAL(unblocked_count_mutex,unblocked_count,reader_count+1); in BOOST_AUTO_TEST_CASE() [all …]
|
D | shared_mutex_locking_thread.hpp | 23 boost::mutex& unblocked_count_mutex; member in locking_thread 38 unblocked_count_mutex(unblocked_count_mutex_), in locking_thread() 53 boost::unique_lock<boost::mutex> ublock(unblocked_count_mutex); in operator ()() 66 boost::unique_lock<boost::mutex> ublock(unblocked_count_mutex); in operator ()()
|