- <init>
Creates a ForkJoinWorkerThread operating in the given pool.
- onStart
Initializes internal state after construction but before processing any tasks.
If you override this
- onTermination
Performs cleanup associated with termination of this worker thread. If you
override this method, you
- setUncaughtExceptionHandler
- start
- cancelTasks
Removes and cancels all tasks in queue. Can be called from any thread.
- deqTask
Tries to take a task from the base of the queue, failing if empty or contended.
Note: Specialization
- drainTasksTo
Drains tasks to given collection c.
- execTask
Runs the given task, plus any local tasks until queue is empty
- getEstimatedSurplusTaskCount
Implements ForkJoinTask.getSurplusQueuedTaskCount(). Returns an estimate of the
number of tasks, off
- getQueueSize
Returns an estimate of the number of tasks in the queue.
- growQueue
Creates or doubles queue array. Transfers elements by emulating steals (deqs)
from old array and pla