marks the current phase completed that the calling thread was executing . this is only necessary when the thread exits the last phase , as #phase int call implies the #done call . concode_field_sep Thread t concode_elem_sep boolean aborted concode_elem_sep int n concode_field_sep void phase concode_elem_sep void abort
void function ( ) { if ( t == Thread . currentThread ( ) ) { n ++ ; t = null ; notifyAll ( ) ; } }