00001 final class Stage2 extends java.lang.Thread 00002 { 00003 00004 public void run () 00005 { 00006 int tmp = -1; 00007 while (tmp != 0) 00008 { 00009 if ((tmp = Heap.c2.take()) != 0) 00010 { 00011 Heap.c3.add((tmp + 1)); 00012 } 00013 } 00014 Heap.c3.stop(); 00015 } 00016 }