aboutsummaryrefslogtreecommitdiff
path: root/include/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/queue.h')
-rw-r--r--include/queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/queue.h b/include/queue.h
index dd7e4db..c81f062 100644
--- a/include/queue.h
+++ b/include/queue.h
@@ -1,4 +1,5 @@
#include <pthread.h>
+#include <stdint.h>
#include <search.h>
#include <semaphore.h>
#include <sys/queue.h>
@@ -21,6 +22,7 @@ struct queue {
sem_t sem;
queue_state_t state;
pthread_mutex_t mutex;
+ uint64_t age;
};
struct queue_thread {