MCPcopy Create free account
hub / github.com/Extra-Creativity/Modern-Cpp-Basics / main

Function main

13-Multithreading/Answer-code/Thread.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143int main()
144{
145 // Object o{};
146 Thread t{ foo, Object{} };
147 t.join();
148 std::cout << "Check joinable: " << std::boolalpha << t.joinable() << "\n";
149 return 0;
150}

Callers

nothing calls this directly

Calls 2

joinableMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected