diff options
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/slices.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/slices.h b/inc/slices.h index 78fb4c7..1ed7775 100755 --- a/inc/slices.h +++ b/inc/slices.h @@ -3,6 +3,7 @@ #include <stdint.h> #include <stdlib.h> +#include <pthread.h> /* IMPORTANT NOTES Slice are inclusive intervals. Let say sliceNew(1,2,S_UNKNOWN,NULL) return a [1;2] interval, @@ -21,6 +22,8 @@ typedef struct _slice { typedef struct { int count; slice_t *first, *last; + address_t min, max; + pthread_mutex_t writeOrConsistentReadMutex; } slices_t; slice_t *sliceNew(address_t begin, address_t end, sliceStatus_t status, slice_t *next); |