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.24 by dl, Sun Oct 5 23:00:18 2003 UTC vs.
Revision 1.25 by dl, Sat Oct 11 15:37:31 2003 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines