MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / main

Function main

test/source/thread_sanitizer/async_condition_variable.cpp:12–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10void test_async_cv_notify_all();
11
12int main() {
13 std::cout << "Starting async_condition_variable test" << std::endl;
14 std::cout << "================================" << std::endl;
15
16 std::cout << "async_condition_variable::await test" << std::endl;
17 test_async_cv_await();
18 std::cout << "================================" << std::endl;
19
20 std::cout << "async_condition_variable::await(pred) test" << std::endl;
21 test_async_cv_await_pred();
22 std::cout << "================================" << std::endl;
23
24 std::cout << "async_condition_variable::notify_one test" << std::endl;
25 test_async_cv_notify_one();
26 std::cout << "================================" << std::endl;
27
28 std::cout << "async_condition_variable::notify_all test" << std::endl;
29 test_async_cv_notify_all();
30 std::cout << "================================" << std::endl;
31
32 std::cout << "done" << std::endl;
33 std::cout << "================================" << std::endl;
34}
35
36using namespace concurrencpp;
37using namespace std::chrono;

Callers

nothing calls this directly

Calls 4

test_async_cv_awaitFunction · 0.85
test_async_cv_await_predFunction · 0.85
test_async_cv_notify_oneFunction · 0.85
test_async_cv_notify_allFunction · 0.85

Tested by

no test coverage detected