MCPcopy Create free account
hub / github.com/boostorg/cobalt / on_thread

Function on_thread

test/thread.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70boost::cobalt::task<std::thread::id> on_thread()
71{
72 co_return std::this_thread::get_id();
73}
74
75CO_TEST_CASE(spawn_onto_thread)
76{

Callers 1

CO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected