/** * Returns the number of threads in the thread pool. 0 and 1 mean no thread pool. * @return the number of threads in the thread pool */ public static int getThreadPoolSize() { createThreadPool(); return nprocs; }
/** * Returns the number of threads in the thread pool. 0 and 1 mean no thread pool. * @return the number of threads in the thread pool */ public static int getThreadPoolSize() { createThreadPool(); return nprocs; }