MCPcopy Create free account
hub / github.com/boostorg/asio / add_thread

Method add_thread

example/cpp14/executors/pipeline.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 friend class thread_executor;
26
27 void add_thread(std::thread&& t)
28 {
29 std::unique_lock<std::mutex> lock(mutex_);
30 threads_.push_back(std::move(t));
31 }
32
33 thread_bag() = default;
34

Callers 1

executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected