public static void finishMockSleep(){
  if (mockSleepQueue != null) {
    mockSleepQueue.offer(true);
  }
}

public static void finishMockSleep ( ) { if ( mockSleepQueue != null ) { mockSleepQueue . offer ( true ) ; } }
let the sleeping thread pass the synchronization point any number of times .
