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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.157 by jsr166, Mon Feb 11 08:09:37 2013 UTC vs.
Revision 1.158 by jsr166, Mon Feb 11 08:30:50 2013 UTC

# Line 2521 | Line 2521 | public class ForkJoinPool extends Abstra
2521       * ongoing processing are automatically terminated upon program
2522       * {@link System#exit}.  Any program that relies on asynchronous
2523       * task processing to complete before program termination should
2524 <     * invoke {@code commonPool().}{@link #awaitQuiescence}, before
2525 <     * exit.
2524 >     * invoke {@code commonPool().}{@link #awaitQuiescence awaitQuiescence},
2525 >     * before exit.
2526       *
2527       * @return the common pool instance
2528       * @since 1.8
# Line 3049 | Line 3049 | public class ForkJoinPool extends Abstra
3049       * is interrupted, whichever happens first. Because the {@link
3050       * #commonPool()} never terminates until program shutdown, when
3051       * applied to the common pool, this method is equivalent to {@link
3052 <     * #awaitQuiescence} but always returns {@code false}.
3052 >     * #awaitQuiescence(long, TimeUnit)} but always returns {@code false}.
3053       *
3054       * @param timeout the maximum time to wait
3055       * @param unit the time unit of the timeout argument

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines