# | Line 674 | Line 674 | public class ForkJoinPool extends Abstra | |
---|---|---|
674 | * Returns a new worker thread operating in the given pool. | |
675 | * | |
676 | * @param pool the pool this thread works in | |
677 | < | * @return the new worker thread |
677 | > | * @return the new worker thread, or {@code null} if the request |
678 | > | * to create a thread is rejected |
679 | * @throws NullPointerException if the pool is null | |
680 | */ | |
681 | public ForkJoinWorkerThread newThread(ForkJoinPool pool); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |