ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/server/Queue/Main.java
(Generate patch)

Comparing experimental/server/Queue/Main.java (file contents):
Revision 1.1 by tdb, Thu Dec 28 01:04:07 2000 UTC vs.
Revision 1.2 by tdb, Thu Dec 28 03:50:20 2000 UTC

# Line 1 | Line 1
1   class Main {
2      
3      public static void main(String args[]) {
4 <        Queue q = new Queue();
5 <        Producer p = new Producer(q);
6 <        Consumer c = new Consumer(q);
4 >        Queue q = new Queue(2);
5 >        Producer p = new Producer(q, 1000);
6 >        Consumer c = new Consumer(q, 2000);
7 >        Consumer d = new Consumer(q, 500);
8          p.start();
9          c.start();
10 +        d.start();
11      }
12      
13   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines