Function quickpool::set_active_threads

Function Documentation

inline void quickpool::set_active_threads(size_t threads)

sets the number of active worker threads in the global thread pool.

Parameters

threads – the number of worker threads. Has no effect when not called from main thread.