requests that the asynchronoussteppable shut down its thread temporarily and blocks until this occurs . if it 's already paused or not running , nothing happens . concode_field_sep boolean running concode_elem_sep boolean paused concode_elem_sep Thread thread concode_elem_sep SimState state concode_field_sep void resume concode_elem_sep void halt concode_elem_sep void stop concode_elem_sep Steppable stopper concode_elem_sep void writeObject concode_elem_sep void run concode_elem_sep void step concode_elem_sep void finalize concode_elem_sep void readObject
void function ( ) { if ( paused || ! running ) return ; halt ( true ) ; try { thread . join ( ) ; } catch ( InterruptedException loc0 ) { System . err . println ( "srini_string" ) ; } paused = true ; }