# | Line 1301 | Line 1301 | public class ForkJoinPool extends Abstra | |
---|---|---|
1301 | * | |
1302 | * @param w the worker's queue | |
1303 | */ | |
1304 | – | |
1304 | final void registerWorker(WorkQueue w) { | |
1305 | Mutex lock = this.lock; | |
1306 | lock.lock(); | |
# | Line 1519 | Line 1518 | public class ForkJoinPool extends Abstra | |
1518 | * awaiting signal, | |
1519 | * | |
1520 | * @param w the worker (via its WorkQueue) | |
1521 | < | * @return a task or null of none found |
1521 | > | * @return a task or null if none found |
1522 | */ | |
1523 | private final ForkJoinTask<?> scan(WorkQueue w) { | |
1524 | WorkQueue[] ws; // first update random seed |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |