MCPcopy Create free account
hub / github.com/Codesire-Deng/co_context / main

Function main

example/sem_std.cpp:88–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88int main() {
89 std::vector<std::thread> threads;
90 threads.reserve(max_threads);
91
92 Guide::show_info();
93 Guide::start_time();
94
95 for (auto id{0U}; id != max_threads; ++id) {
96 threads.push_back(std::thread(workerThread, id));
97 }
98
99 for (auto &thread : threads) {
100 thread.join();
101 }
102}
103
104// NOLINTEND

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected