FACT++  1.0
static void alrm_sig_handler ( int  num)
static

Definition at line 765 of file dtq.c.

References scan_it(), start_it(), and stop_it().

Referenced by dim_dtq_init(), and dtq_task().

766 {
767  int next_time;
768 
769  if(num){}
770  next_time = stop_it();
771  if(Threads_off)
772  {
773  if(scan_it())
774  next_time = -10;
775  }
776  else
777  {
778  while(scan_it());
779  }
780  if(!Alarm_runs)
781  {
782  start_it(next_time);
783  }
784 }
static int stop_it()
Definition: dtq.c:613
static int scan_it()
Definition: dtq.c:661
static int Alarm_runs
Definition: dtq.c:60
static int start_it(int new_time)
Definition: dtq.c:632
static int Threads_off
Definition: dtq.c:71

+ Here is the call graph for this function:

+ Here is the caller graph for this function: