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

Comparing jsr166/src/main/java/util/concurrent/SynchronousQueue.java (file contents):
Revision 1.78 by jsr166, Wed Jun 8 00:50:35 2011 UTC vs.
Revision 1.79 by jsr166, Wed Jun 8 02:42:01 2011 UTC

# Line 402 | Line 402 | public class SynchronousQueue<E> extends
402               */
403              long lastTime = timed ? System.nanoTime() : 0;
404              Thread w = Thread.currentThread();
405            SNode h = head;
405              int spins = (shouldSpin(s) ?
406                           (timed ? maxTimedSpins : maxUntimedSpins) : 0);
407              for (;;) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines