diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/slices_evt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/slices_evt.h b/inc/slices_evt.h index e7d44fe..d5772b3 100644 --- a/inc/slices_evt.h +++ b/inc/slices_evt.h @@ -7,11 +7,13 @@ typedef struct _slices_evt_t { slices_t *data; - pthread_mutex_t mutex; void (*eventListener)(/*sliceEvtKind_t evtKind,*/ struct _slices_evt_t *slicesEvt, slice_t *slice); + pthread_mutex_t eventListenerMutex; } slices_evt_t; -int sliceSplitEvt(slices_evt_t *slicesEvt, slice_t *initialSlice, address_t splitAt, sliceStatus_t statusBefore, sliceStatus_t statusAt, sliceStatus_t statusAfter); +int sliceEvtSplit(slices_evt_t *slicesEvt, slice_t *initialSlice, address_t splitAt, sliceStatus_t statusBefore, sliceStatus_t statusAt, sliceStatus_t statusAfter); + +//void sliceEvtPutEvent(slices_evt_t *slicesEvt, slice_t *modifiedSlice); #endif /*SLICES_EVT_H */ |