Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DmitriBogdanov/UTL
/ ThreadPool
Method
ThreadPool
single_include/UTL.hpp:8412–8412 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8410
8411
public:
8412
explicit ThreadPool(std::size_t count = std::thread::hardware_concurrency()) { this->spawn_workers(count); }
8413
8414
~ThreadPool() noexcept {
8415
try {
Callers
nothing calls this directly
Calls
2
spawn_workers
Method · 0.95
hardware_concurrency
Function · 0.70
Tested by
no test coverage detected