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

Class dummy_task

example/6_manual_executor/source/main.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 });
34
35 struct dummy_task {
36 void operator()() const noexcept {
37 std::cout << "A dummy task is being executed on thread_id " << std::this_thread::get_id() << std::endl;
38 }
39 };
40
41 threads.emplace_back([manual_executor] {
42 std::vector<dummy_task> tasks(20);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected