core / pragma.jobs / BackgroundManager / installNewThreadPool /

installNewThreadPool #

abstract fun installNewThreadPool(nThreads: Int, name: String)

Replaces the thread pool for this BackgroundManager with a new thread pool.

This is rarely useful, as it will override our default thread pool which is usually good enough.

Parameters #

nThreads

The number of threads in the new thread pool.

name

The name of the new thread pool.