Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
143
int 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
joinable
Method · 0.80
join
Method · 0.45
Tested by
no test coverage detected