public void run( ){
    System.out.println("Consumer "+threadID+" starts.");
    for ( int j = 0; j < steps; j++)
    {
      byte m;
      m = buffer.remove(threadID, j);
      yield( );
    }
    
    System.out.println("Consumer "+threadID+" terminates.");
  }