ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ForkJoinTask.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ForkJoinTask.java (file contents):
Revision 1.102 by jsr166, Thu Oct 8 20:23:34 2015 UTC vs.
Revision 1.103 by jsr166, Sun Oct 11 15:49:10 2015 UTC

# Line 1091 | Line 1091 | public abstract class ForkJoinTask<V> im
1091      }
1092  
1093      /**
1094 <     * Returns the pool hosting the current task execution, or null
1095 <     * if this task is executing outside of any ForkJoinPool.
1094 >     * Returns the pool hosting the current thread, or {@code null}
1095 >     * if the current thread is executing outside of any ForkJoinPool.
1096 >     *
1097 >     * <p>This method returns {@code null} if and only if {@link
1098 >     * #inForkJoinPool} returns {@code false}.
1099       *
1100       * @return the pool, or {@code null} if none
1098     * @see #inForkJoinPool
1101       */
1102      public static ForkJoinPool getPool() {
1103          Thread t = Thread.currentThread();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines