void function ( Condition arg0 ) { boolean loc0 = false ; lock . lock ( ) ; try { while ( ! arg0 . isMet ( ) ) { try { cond . await ( ) ; } catch ( InterruptedException loc1 ) { loc0 = true ; } } } finally { lock . unlock ( ) ; if ( loc0 ) Thread . currentThread ( ) . interrupt ( ) ; } }
blocks until condition is true . concode_field_sep Lock lock concode_elem_sep java.util.concurrent.locks.Condition cond concode_field_sep void signal