waits until #trigger is called . once trigger has been called thiscall will always return immediately . concode_field_sep boolean triggered concode_elem_sep Object lock concode_field_sep void trigger
void function ( ) { synchronized ( lock ) { while ( ! triggered ) { lock . wait ( ) ; } } }