void finishAlarmThread ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "finishAlarmThread" ) ; //wake up the thread so that it will exit it's main loop and end synchronized ( wakeupLock ) { //flag this alarm thread as finished finished = true ; wakeupLock . notify ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "finishAlarmThread" ) ; }
Terminate this alarm thread . This is final the thread should not be restarted .