Struct PoolOptions
Defined in File worker-pool.h
Struct Documentation
-
struct PoolOptions
Physical capacity and optional retained topology provider used at pool construction.
Public Members
-
std::size_t worker_count = 1
Physical thread count; zero chooses eligible cores, then logical CPUs, then one.
-
std::shared_ptr<TopologyProvider> topology_provider
Optional provider retained through worker shutdown; must support concurrent worker calls.
-
std::size_t worker_count = 1