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

Comparing jsr166/src/main/java/util/concurrent/LinkedQueue.java (file contents):
Revision 1.3 by jozart, Wed Jun 18 11:05:18 2003 UTC vs.
Revision 1.4 by dl, Wed Jun 18 11:41:04 2003 UTC

# Line 31 | Line 31 | public class LinkedQueue<E> extends Abst
31  
32      /*
33       * This is a straight adaptation of Michael & Scott algorithm.
34 <     * For explanation, read the paper.
34 >     * For explanation, read the paper.  The only (minor) algorithmic
35 >     * difference is that this version supports lazy deletion of
36 >     * internal nodes (method remove(Object)) -- remove CAS'es item
37 >     * fields to null. The normal queue operations unlink but then
38 >     * pass over nodes with null item fields. Similarly, iteration
39 >     * methods ignore those with nulls.
40       */
41  
42      static class Node {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines