forked from vieter-v/libvieter
16 lines
295 B
C
16 lines
295 B
C
#ifndef VIETER_JOB_QUEUE_INTERNAL
|
|
#define VIETER_JOB_QUEUE_INTERNAL
|
|
|
|
#include "vieter_heap.h"
|
|
#include "vieter_job_queue.h"
|
|
#include "vieter_tree.h"
|
|
#include <pthread.h>
|
|
|
|
struct vieter_job_queue {
|
|
vieter_tree *tree;
|
|
vieter_heap *heaps[VIETER_JOB_STATES];
|
|
pthread_rwlock_t lock;
|
|
};
|
|
|
|
#endif
|