Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ ~thread_bag
Method
~thread_bag
example/cpp14/executors/pipeline.cpp:35–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
thread_bag() = default;
34
35
~thread_bag()
36
{
37
for (auto& t : threads_)
38
t.join();
39
}
40
41
std::mutex mutex_;
42
std::vector<std::thread> threads_;
Callers
nothing calls this directly
Calls
1
join
Method · 0.45
Tested by
no test coverage detected