00001 final class Listener extends java.lang.Thread 00002 { 00003 00004 public void run () 00005 { 00006 java.lang.System.out.println("Listener startup"); 00007 int tmp = -1; 00008 while (tmp != 0) 00009 { 00010 if ((tmp = Heap.c4.take()) != 0) 00011 { 00012 java.lang.System.out.println("output is ".concat(java.lang.String.valueOf(tmp))); 00013 } 00014 } 00015 java.lang.System.out.println("Listener shutdown"); 00016 } 00017 }