Searched refs:concurrent_runner (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/atomic/test/ |
D | atomicity.cpp | 46 class concurrent_runner class 54 concurrent_runner runner(fn); in execute() 59 concurrent_runner(const boost::function<bool(std::size_t)> & fn) : in concurrent_runner() function in concurrent_runner 62 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 0)).swap(first_thread_); in concurrent_runner() 63 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 1)).swap(second_thread_); in concurrent_runner() 156 bool success = concurrent_runner::execute( in estimate_avg_race_time() 259 bool success = concurrent_runner::execute( in main() 274 bool success = concurrent_runner::execute( in main()
|
D | atomicity_ref.cpp | 51 class concurrent_runner class 59 concurrent_runner runner(fn); in execute() 65 concurrent_runner(const boost::function<bool(std::size_t)> & fn) : in concurrent_runner() function in concurrent_runner 68 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 0)).swap(first_thread_); in concurrent_runner() 69 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 1)).swap(second_thread_); in concurrent_runner() 162 bool success = concurrent_runner::execute( in estimate_avg_race_time() 267 bool success = concurrent_runner::execute( in main() 282 bool success = concurrent_runner::execute( in main()
|