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

Comparing jsr166/src/jsr166y/LinkedTransferQueue.java (file contents):
Revision 1.86 by jsr166, Wed Jun 1 21:04:30 2011 UTC vs.
Revision 1.87 by jsr166, Fri Jun 3 14:17:10 2011 UTC

# Line 301 | Line 301 | public class LinkedTransferQueue<E> exte
301       *    of less-contended queues.  During spins threads check their
302       *    interrupt status and generate a thread-local random number
303       *    to decide to occasionally perform a Thread.yield. While
304 <     *    yield has underdefined specs, we assume that might it help,
304 >     *    yield has underdefined specs, we assume that it might help,
305       *    and will not hurt in limiting impact of spinning on busy
306       *    systems.  We also use smaller (1/2) spins for nodes that are
307       *    not known to be front but whose predecessors have not

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines