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

Comparing jsr166/src/jsr166y/ForkJoinPool.java (file contents):
Revision 1.93 by dl, Wed Feb 23 12:48:43 2011 UTC vs.
Revision 1.94 by dl, Tue Mar 1 10:59:04 2011 UTC

# Line 478 | Line 478 | public class ForkJoinPool extends Abstra
478       * negative, there is at least one waiting worker, and when e is
479       * negative, the pool is terminating.  To deal with these possibly
480       * negative fields, we use casts in and out of "short" and/or
481 <     * signed shifts to maintain signedness.  Note: AC_SHIFT is
482 <     * redundantly declared in ForkJoinWorkerThread in order to
483 <     * integrate a surplus-threads check.
481 >     * signed shifts to maintain signedness.
482       */
483      volatile long ctl;
484  
# Line 1735 | Line 1733 | public class ForkJoinPool extends Abstra
1733  
1734      /**
1735       * Returns an estimate of the number of tasks submitted to this
1736 <     * pool that have not yet begun executing.  This meThod may take
1736 >     * pool that have not yet begun executing.  This method may take
1737       * time proportional to the number of submissions.
1738       *
1739       * @return the number of queued submissions

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines