32 #ifndef SCHEDULER_FIFOQ_H
33 #define SCHEDULER_FIFOQ_H
44 #ifdef HAVE_SYS_TYPES_H
45 # include <sys/types.h>
51 #include <ldns/ldns.h>
53 #define FIFOQ_MAX_COUNT 1000
54 #define FIFOQ_TRIES_COUNT 10
fifoq_type * fifoq_create(allocator_type *allocator)
cond_basic_type q_threshold
enum ods_enum_status ods_status
void fifoq_cleanup(fifoq_type *q)
void fifoq_wipe(fifoq_type *q)
void * blob[FIFOQ_MAX_COUNT]
worker_type * owner[FIFOQ_MAX_COUNT]
allocator_type * allocator
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)