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

Method thread_promise

src/thread.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19{
20
21thread_promise::thread_promise()
22 : promise_cancellation_base<asio::cancellation_slot, asio::enable_total_cancellation>(
23 signal_helper_2::signal.slot(), asio::enable_total_cancellation())
24{
25 mtx.lock();
26}
27
28void run_thread(
29 std::shared_ptr<thread_state> st_,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected