getMaxThreads

Returns the maximal number of threads for @pool.

Return

the maximal number of threads