FACT++  1.0
void dim_dtq_stop ( )

Definition at line 200 of file dtq.c.

References dtq_delete(), Memory::free(), QUEUE_ENT::queue_head, scan_it(), and WRITE_QUEUE.

Referenced by dim_signal_cond(), and dim_stop().

201 {
202 /*
203  int i;
204  for(i = 0; i < MAX_TIMER_QUEUES + 2; i++)
205  {
206  if( timer_queues[i].queue_head != NULL)
207  {
208  dtq_delete(i);
209  free((TIMR_ENT *)timer_queues[i].queue_head);
210  timer_queues[i].queue_head = 0;
211  }
212  }
213 */
214  scan_it();
215  if( timer_queues[WRITE_QUEUE].queue_head != NULL)
216  {
218  free((TIMR_ENT *)timer_queues[WRITE_QUEUE].queue_head);
220  }
221  sigvec_done = 0;
222 }
int dtq_delete(int queue_id)
Definition: dtq.c:378
static int scan_it()
Definition: dtq.c:661
Definition: dim.h:370
#define WRITE_QUEUE
Definition: dtq.c:33
static QUEUE_ENT timer_queues[MAX_TIMER_QUEUES+2]
Definition: dtq.c:54
TIMR_ENT * queue_head
Definition: dtq.c:49
static int sigvec_done
Definition: dtq.c:61
void free(void *mem)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: