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

Comparing jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java (file contents):
Revision 1.162 by dl, Thu Jun 4 12:03:50 2020 UTC vs.
Revision 1.163 by jsr166, Sat Jan 28 18:29:49 2023 UTC

# Line 282 | Line 282 | public class LinkedTransferQueue<E> exte
282       *    Wait for another thread to match node; instead cancelling if
283       *    the current thread was interrupted or the wait timed out. To
284       *    improve performance in common single-source / single-sink
285 <     *    usages when there are more tasks that cores, an initial
285 >     *    usages when there are more tasks than cores, an initial
286       *    Thread.yield is tried when there is apparently only one
287       *    waiter.  In other cases, waiters may help with some
288       *    bookkeeping, then park/unpark.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines