Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthonywilliams/ccia_code_samples
/ oops
Function
oops
listings/listing_2.1.cpp:24–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
23
24
void oops()
25
{
26
int some_local_state=0;
27
func my_func(some_local_state);
28
std::thread my_thread(my_func);
29
my_thread.detach();
30
}
31
32
int main()
33
{
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected