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.157 by dl, Mon Apr 4 12:02:42 2022 UTC vs.
Revision 1.158 by dl, Fri May 6 16:03:05 2022 UTC

# Line 168 | Line 168 | import jdk.internal.misc.Unsafe;
168   * sensible to serialize tasks only before or after, but not during,
169   * execution. Serialization is not relied on during execution itself.
170   *
171 + * @param <V> the type of the result of the task
172 + *
173   * @since 1.7
174   * @author Doug Lea
175   */
# Line 1016 | Line 1018 | public abstract class ForkJoinTask<V> im
1018  
1019      /**
1020       * Tries to join this task, returning true if it completed
1021 <     * (possibly exceptionally) before the given timeout and/or the
1022 <     * the current thread has been interrupted, else false.
1021 >     * (possibly exceptionally) before the given timeout and
1022 >     * the current thread has not been interrupted.
1023       *
1024       * @param timeout the maximum time to wait
1025       * @param unit the time unit of the timeout argument

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines