32 #ifndef SCHEDULER_FIFOQ_H 33 #define SCHEDULER_FIFOQ_H 39 #ifdef HAVE_SYS_TYPES_H 40 # include <sys/types.h> 46 #include <ldns/ldns.h> 54 #define FIFOQ_MAX_COUNT 1000 55 #define FIFOQ_TRIES_COUNT 10
cond_basic_type q_threshold
void fifoq_cleanup(fifoq_type *q)
void fifoq_wipe(fifoq_type *q)
void * blob[FIFOQ_MAX_COUNT]
worker_type * owner[FIFOQ_MAX_COUNT]
fifoq_type * fifoq_create(void)
void * fifoq_pop(fifoq_type *q, worker_type **worker)
cond_basic_type q_nonfull
ods_status fifoq_push(fifoq_type *q, void *item, worker_type *worker, int *tries)