question: public void proceed ( int priority ) throws InterruptedException { synchronized ( lock ) { while ( highestPriority < priority ) { lock . wait ( ) ; } } }
target:  Blocks until the passed priority is the lowest one (i.e. highest priority).