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

Comparing jsr166/src/main/java/util/concurrent/SynchronousQueue.java (file contents):
Revision 1.64 by dl, Sat Feb 11 00:03:36 2006 UTC vs.
Revision 1.65 by jsr166, Thu Feb 16 08:31:31 2006 UTC

# Line 808 | Line 808 | public class SynchronousQueue<E> extends
808      public void put(E o) throws InterruptedException {
809          if (o == null) throw new NullPointerException();
810          if (transferer.transfer(o, false, 0) == null) {
811 <            Thread.interrupted();
811 >            Thread.interrupted();
812              throw new InterruptedException();
813 <        }
813 >        }
814      }
815  
816      /**
# Line 857 | Line 857 | public class SynchronousQueue<E> extends
857          Object e = transferer.transfer(null, false, 0);
858          if (e != null)
859              return (E)e;
860 <        Thread.interrupted();
860 >        Thread.interrupted();
861          throw new InterruptedException();
862      }
863  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines