358 |
|
* ForkJoinWorkerThread via its factory. Upon construction, the |
359 |
|
* new thread invokes registerWorker, where it constructs a |
360 |
|
* WorkQueue and is assigned an index in the workQueues array |
361 |
< |
* (expanding the array if necessary). The thread is then |
362 |
< |
* started. Upon any exception across these steps, or null return |
363 |
< |
* from factory, deregisterWorker adjusts counts and records |
361 |
> |
* (expanding the array if necessary). The thread is then started. |
362 |
> |
* Upon any exception across these steps, or null return from |
363 |
> |
* factory, deregisterWorker adjusts counts and records |
364 |
|
* accordingly. If a null return, the pool continues running with |
365 |
|
* fewer than the target number workers. If exceptional, the |
366 |
|
* exception is propagated, generally to some external caller. |