66 |
|
* used for all parallel task execution in a program or subsystem. |
67 |
|
* Otherwise, use would not usually outweigh the construction and |
68 |
|
* bookkeeping overhead of creating a large set of threads. For |
69 |
< |
* example a common pool could be used for the {@code SortTasks} |
69 |
> |
* example, a common pool could be used for the {@code SortTasks} |
70 |
|
* illustrated in {@link RecursiveAction}. Because {@code |
71 |
|
* ForkJoinPool} uses threads in {@linkplain java.lang.Thread#isDaemon |
72 |
< |
* daemon} mode, there is typically no need to explictly {@link |
72 |
> |
* daemon} mode, there is typically no need to explicitly {@link |
73 |
|
* #shutdown} such a pool upon program exit. |
74 |
|
* |
75 |
|
* <pre> |