Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthonywilliams/ccia_code_samples
/ f
Function
f
listings/listing_2.3.cpp:45–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
44
45
void f()
46
{
47
int some_local_state;
48
func my_func(some_local_state);
49
std::thread t(my_func);
50
thread_guard g(t);
51
52
do_something_in_current_thread();
53
}
54
55
int main()
56
{
Callers
8
call
Method · 0.70
interruptible_thread
Method · 0.70
main
Function · 0.70
for_each
Method · 0.70
dispatch
Method · 0.70
interruptible_thread
Method · 0.70
spawn_async
Function · 0.70
call
Method · 0.70
Calls
1
do_something_in_current_thread
Function · 0.70
Tested by
no test coverage detected