Searched refs:timed_lock_succeeded (Results 1 – 2 of 2) sorted by relevance
36 bool timed_lock_succeeded=rw_mutex.timed_lock_shared(timeout); in BOOST_AUTO_TEST_CASE() local38 BOOST_CHECK(!timed_lock_succeeded); in BOOST_AUTO_TEST_CASE()39 if(timed_lock_succeeded) in BOOST_AUTO_TEST_CASE()46 timed_lock_succeeded=rw_mutex.timed_lock_shared(wait_duration); in BOOST_AUTO_TEST_CASE()48 BOOST_CHECK(!timed_lock_succeeded); in BOOST_AUTO_TEST_CASE()49 if(timed_lock_succeeded) in BOOST_AUTO_TEST_CASE()67 bool timed_lock_succeeded=rw_mutex.timed_lock_shared(timeout); in BOOST_AUTO_TEST_CASE() local69 BOOST_CHECK(timed_lock_succeeded); in BOOST_AUTO_TEST_CASE()70 if(timed_lock_succeeded) in BOOST_AUTO_TEST_CASE()77 timed_lock_succeeded=rw_mutex.timed_lock_shared(wait_duration); in BOOST_AUTO_TEST_CASE()[all …]
38 bool timed_lock_succeeded=rw_mutex.try_lock_shared_until(timeout); in BOOST_AUTO_TEST_CASE() local40 BOOST_CHECK(!timed_lock_succeeded); in BOOST_AUTO_TEST_CASE()41 if(timed_lock_succeeded) in BOOST_AUTO_TEST_CASE()48 timed_lock_succeeded=rw_mutex.try_lock_shared_for(wait_duration); in BOOST_AUTO_TEST_CASE()50 BOOST_CHECK(!timed_lock_succeeded); in BOOST_AUTO_TEST_CASE()51 if(timed_lock_succeeded) in BOOST_AUTO_TEST_CASE()68 bool timed_lock_succeeded=rw_mutex.try_lock_shared_until(timeout); in BOOST_AUTO_TEST_CASE() local70 BOOST_CHECK(timed_lock_succeeded); in BOOST_AUTO_TEST_CASE()71 if(timed_lock_succeeded) in BOOST_AUTO_TEST_CASE()78 timed_lock_succeeded=rw_mutex.try_lock_shared_for(wait_duration); in BOOST_AUTO_TEST_CASE()[all …]