ThreadPool.getMaxIdleTime

This function will return the maximum interval that a thread will wait in the thread pool for new tasks before being stopped.

If this function returns 0, threads waiting in the thread pool for new work are not stopped.

class ThreadPool
static
uint
getMaxIdleTime
()

Return Value

Type: uint

the maximum interval (milliseconds) to wait for new tasks in the thread pool before stopping the thread

Meta

Since

2.10