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.29 by dl, Wed Nov 12 01:04:24 2003 UTC vs.
Revision 1.30 by dl, Thu Nov 13 11:15:06 2003 UTC

# Line 394 | Line 394 | public class LinkedBlockingQueue<E> exte
394              return null;
395          E x = null;
396          int c = -1;
397 <        takeLock.tryLock();
397 >        takeLock.lock();
398          try {
399              if (count.get() > 0) {
400                  x = extract();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines