ThreadPool.stopUnusedThreads

Stops all currently unused threads. This does not change the maximal number of unused threads. This function can be used to regularly stop all unused threads e.g. from Timeout.add.

class ThreadPool
static
void
stopUnusedThreads
()