[cvs] / jsr166 / src / main / java / util / concurrent / LinkedTransferQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.132, Sun Jan 1 23:17:58 2017 UTC revision 1.133, Mon Jan 2 00:10:14 2017 UTC
# Line 545  Line 545 
545    
546      /**      /**
547       * Tries to CAS pred.next (or head, if pred is null) from c to p.       * Tries to CAS pred.next (or head, if pred is null) from c to p.
548         * Caller must ensure that we're not unlinking the trailing node.
549       */       */
550      private boolean tryCasSuccessor(Node pred, Node c, Node p) {      private boolean tryCasSuccessor(Node pred, Node c, Node p) {
551            // assert p != null;
552          // assert c != p;          // assert c != p;
553          if (pred != null)          if (pred != null)
554              return pred.casNext(c, p);              return pred.casNext(c, p);

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.133

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8