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

Comparing jsr166/src/main/java/util/concurrent/BlockingQueue.java (file contents):
Revision 1.14 by tim, Wed Aug 6 15:48:14 2003 UTC vs.
Revision 1.15 by tim, Fri Aug 8 20:05:07 2003 UTC

# Line 57 | Line 57 | import java.util.Queue;
57   *   public void run() {
58   *     try {
59   *       while(true) { queue.put(produce()); }
60 < *     }
61 < *     catch (InterruptedException ex) { ... handle ...}
60 > *     } catch (InterruptedException ex) { ... handle ...}
61   *   }
62   *   Object produce() { ... }
63   * }
# Line 69 | Line 68 | import java.util.Queue;
68   *   public void run() {
69   *     try {
70   *       while(true) { consume(queue.take()); }
71 < *     }
73 < *     catch (InterruptedException ex) { ... handle ...}
71 > *     } catch (InterruptedException ex) { ... handle ...}
72   *   }
73   *   void consume(Object x) { ... }
74   * }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines