MCPcopy 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
45void 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
55int main()
56{

Callers 8

callMethod · 0.70
interruptible_threadMethod · 0.70
mainFunction · 0.70
for_eachMethod · 0.70
dispatchMethod · 0.70
interruptible_threadMethod · 0.70
spawn_asyncFunction · 0.70
callMethod · 0.70

Calls 1

Tested by

no test coverage detected