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