ThreadPool.setMaxUnusedThreads

Sets the maximal number of unused threads to max_threads. If max_threads is -1, no limit is imposed on the number of unused threads.

class ThreadPool
static
void
setMaxUnusedThreads

Parameters

maxThreads int

maximal number of unused threads

Meta