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

Function main

example/12_delay_object/source/main.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19int main() {
20 concurrencpp::runtime runtime;
21 delayed_task(runtime.timer_queue(), runtime.thread_pool_executor());
22
23 std::this_thread::sleep_for(10s);
24 return 0;
25}

Callers

nothing calls this directly

Calls 3

delayed_taskFunction · 0.85
timer_queueMethod · 0.45
thread_pool_executorMethod · 0.45

Tested by

no test coverage detected