diff options
Diffstat (limited to 'broccoli/includes')
-rw-r--r-- | broccoli/includes/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/broccoli/includes/types.h b/broccoli/includes/types.h index a8fa1cf..d2cf19e 100644 --- a/broccoli/includes/types.h +++ b/broccoli/includes/types.h @@ -1,5 +1,6 @@ #ifndef TYPES_H #define TYPES_H +#include <semaphore.h> #define true 1 #define false 0 @@ -24,6 +25,8 @@ struct fifo_q{ Queue_t * tail; int maxSize; int currentSize; + sem_t bufferEmptyBlock; + sem_t lock; }; #endif |