Biblioteca Java - Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
3 mihai 1 /*
2  * Consumer.java
3  */
4 package lab.scd.fire.sincronizareProducerConsumer;
5  
6 /**
7  * Class created by @author Mihai HULEA at Feb 22, 2005.
8  *
9  * This class is part of the labs project.
10  *
11  */
12  
13  
14 class Consumer extends Thread
15 {
16         private Buffer bf;
17         Consumer(Buffer bf)
18         {this.bf=bf;}
19  
20         public void run()
21         {
22                 while (true)
23                 {
24                         System.out.println("Am citit : "+this+" >> "+bf.get());
25                 }
26         }
27 }