Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

InOut2.java

00001 class InOut2 extends java.lang.Thread 
00002 {
00003      BoundedBuffer in;
00004      BoundedBuffer out;
00005      
00006      public InOut2(BoundedBuffer ins, BoundedBuffer outs)
00007      {
00008           this.in = ins;
00009           this.out = outs;
00010      }
00011      
00012      public void run ()
00013      {
00014           while (true)
00015           {
00016                this.in.take();
00017                this.out.add();
00018           }
00019      }
00020 }

Generated at Thu Feb 7 06:46:47 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001