void function ( ) { this . accessLock . lock ( ) ; try { this . totalTasks ++ ; } finally { this . accessLock . unlock ( ) ; } }
notify that a task is starting . concode_field_sep Condition mightBeDone concode_elem_sep int completedTasks concode_elem_sep Lock accessLock concode_elem_sep int id concode_elem_sep int totalTasks concode_field_sep void taskStopping concode_elem_sep void waitForComplete concode_elem_sep boolean getNoTasks concode_elem_sep int getID