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

Comparing jsr166/src/test/tck/ThreadLocalTest.java (file contents):
Revision 1.12 by jsr166, Tue Mar 15 19:47:07 2011 UTC vs.
Revision 1.13 by jsr166, Fri May 27 16:43:48 2011 UTC

# Line 67 | Line 67 | public class ThreadLocalTest extends JSR
67                  child = new ITLThread(x);
68                  child.start();
69              }
70 <            Thread.currentThread().yield();
70 >            Thread.yield();
71  
72              int threadId = itl.get().intValue();
73              for (int j = 0; j < threadId; j++) {
74                  x[threadId]++;
75 <                Thread.currentThread().yield();
75 >                Thread.yield();
76              }
77  
78              if (child != null) { // Wait for child (if any)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines