get_max_threads


Description:

public int get_max_threads ()

Get the maximum number of threads to spawn

Note that this isn't necessarily the maximum number of threads which could be in use, since threads spawned prior to lowering this value will not be destroyed until the maximum idle time is exceeded.

Returns:

the maximum number of threads, or -1 for unlimited

See also:

set_max_threads, increase_max_threads, get_max_idle_time, set_max_idle_time