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

Writer.java

00001 class Writer 
00002 {
00003      ReadWriteLock rw;
00004      
00005      public Writer(ReadWriteLock rw)
00006      {
00007           this.rw = rw;
00008      }
00009      
00010      public void write ()
00011      {
00012           this.rw.writeLock().acquire();
00013           java.lang.System.out.println("Start writing...");
00014           java.lang.System.out.println("Finish writing...");
00015           this.rw.writeLock().release();
00016      }
00017 }

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