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.96 by dl, Mon Mar 7 14:10:48 2011 UTC vs.
Revision 1.98 by dl, Mon Mar 21 23:29:03 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7   package jsr166y;
# Line 1146 | Line 1146 | public class ForkJoinPool extends Abstra
1146                          ws[k] = w;
1147                          nextWorkerIndex = k + 1;
1148                          int m = g & SMASK;
1149 <                        g = k >= m? ((m << 1) + 1) & SMASK : g + (SG_UNIT<<1);
1149 >                        g = k > m? ((m << 1) + 1) & SMASK : g + (SG_UNIT<<1);
1150                      }
1151                  } finally {
1152                      scanGuard = g;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines