Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

thread_pool::thread_pool (3 of 6 overloads)
PrevUpHomeNext

Constructs a pool with a specified number of threads.

thread_pool(
    std::size_t num_threads);
Parameters

num_threads

The number of threads required.


PrevUpHomeNext