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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinWorkerThread.java (file contents):
Revision 1.47 by jsr166, Thu Apr 14 01:17:58 2011 UTC vs.
Revision 1.48 by jsr166, Wed Jun 1 20:35:56 2011 UTC

# Line 331 | Line 331 | public class ForkJoinWorkerThread extend
331       */
332      protected void onStart() {
333          queue = new ForkJoinTask<?>[INITIAL_QUEUE_CAPACITY];
334 <        int r = pool.workerSeedGenerator.nextInt();
334 >        int r = ForkJoinPool.workerSeedGenerator.nextInt();
335          seed = (r == 0) ? 1 : r; //  must be nonzero
336      }
337  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines