Lines Matching refs:max_threads
861 * @max_threads: max number of threads in @pool (0 means kill all threads)
864 * between @min_threads and @max_threads.
866 * If @min_threads is 0 or larger than @max_threads, then it is ignored and
867 * the pool will be set to run a static @max_threads number of threads.
877 unsigned int min_threads, unsigned int max_threads)
885 if (min_threads > max_threads)
886 min_threads = max_threads;
889 pool->sp_nrthrmax = max_threads;
896 if (pool->sp_nrthreads > max_threads)
897 delta = max_threads;
903 delta = max_threads;