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

Tested by

no test coverage detected