예제 #1
0
void save_processor_state(void)
{
	flush_thread();
}
예제 #2
0
파일: SlipThread.c 프로젝트: jenyckee/SLIP
NIL_type Thread_Replace(THR_type Thread)
  { flush_thread();        
    Thread_Current = Thread; }
예제 #3
0
/**
 * Called when statsite is terminating to flush the
 * final set of metrics
 */
void final_flush() {
    // Get the last set of metrics
    metrics *old = GLOBAL_METRICS;
    GLOBAL_METRICS = NULL;
    flush_thread(old);
}