Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ add_thread
Method
add_thread
example/cpp11/executors/pipeline.cpp:41–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
void add_thread(std::thread&& t)
42
{
43
std::unique_lock<std::mutex> lock(mutex_);
44
threads_.push_back(std::move(t));
45
}
46
47
private:
48
virtual void shutdown()
Callers
1
execute
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected