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

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.31 by dl, Tue Dec 23 19:38:09 2003 UTC vs.
Revision 1.32 by dl, Sat Dec 27 17:19:03 2003 UTC

# Line 80 | Line 80 | public class LinkedBlockingQueue<E> exte
80      private final ReentrantLock takeLock = new ReentrantLock();
81  
82      /** Wait queue for waiting takes */
83 <    private final ReentrantLock.ConditionObject notEmpty = takeLock.newCondition();
83 >    private final Condition notEmpty = takeLock.newCondition();
84  
85      /** Lock held by put, offer, etc */
86      private final ReentrantLock putLock = new ReentrantLock();
87  
88      /** Wait queue for waiting puts */
89 <    private final ReentrantLock.ConditionObject notFull = putLock.newCondition();
89 >    private final Condition notFull = putLock.newCondition();
90  
91      /**
92       * Signal a waiting take. Called only from put/offer (which do not

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines