a new method that interrupts the worker thread . call this method to force the worker to stop what it 's doing . concode_field_sep Logger LOG concode_elem_sep ThreadVar myThreadVar concode_elem_sep Object value concode_elem_sep ModalityState myModalityState concode_elem_sep Thread myThread concode_field_sep void onThrowable concode_elem_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep void setValue concode_elem_sep void clear concode_elem_sep void start concode_elem_sep void finished concode_elem_sep Object construct
void function ( ) { Thread loc0 = myThreadVar . get ( ) ; if ( loc0 != null ) { loc0 . interrupt ( ) ; } myThreadVar . clear ( ) ; }