Update the maximal number of threads the pool may spawn. When
the maximal number of threads is reduced, existing threads are not
immediately shut down, see glib.thread_pool.ThreadPool.setMaxThreads.
Setting max_threads to 0 effectively freezes the pool.
Update the maximal number of threads the pool may spawn. When the maximal number of threads is reduced, existing threads are not immediately shut down, see glib.thread_pool.ThreadPool.setMaxThreads.
Setting max_threads to 0 effectively freezes the pool.