void test_count_down(hpx::lcos::local::latch& l) { ++num_threads; HPX_TEST(!l.is_ready()); l.count_down(NUM_THREADS); }
void test_count_down_and_wait(hpx::lcos::local::latch& l) { ++num_threads; HPX_TEST(!l.is_ready()); l.count_down_and_wait(); }