Performs the given task, returning its result upon completion. If the
computation encounters an unch
Creates a ForkJoinPool with the given parameters.
Arranges for (asynchronous) execution of the given task.
Tries to create and start a worker; minimally rolls back counts on failure.
If there is a security manager, makes sure caller has permission to modify
Returns the targeted parallelism level of this pool.
Returns the number of worker threads that have started but not yet terminated.
The result returned b
If inactivating worker w has caused pool to become quiescent, check for pool
termination, and wait f
Returns the approximate (non-atomic) number of idle threads per active thread.
Returns true if all tasks have completed following shut down.
Blocks in accord with the given blocker. If the current thread is a
ForkJoinWorkerThread, this metho
Callback from ForkJoinWorkerThread constructor to assign a public name