MCPcopy 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
8411public:
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_workersMethod · 0.95
hardware_concurrencyFunction · 0.70

Tested by

no test coverage detected