question: boolean waitForState ( Processor p , int state ) { synchronized ( waitSync ) { try { while ( p . getState ( ) < state && stateTransitionOK ) waitSync . wait ( ) ; } catch ( Exception e ) { } } return stateTransitionOK ; }
target:  Block until the processor has transitioned to the given state. Return false if the transition failed.