SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprAtomicSlot Struct Reference

Data Fields

uint32_t free_msk
 bit mask of free slots More...
 
uint32_t ready_msk
 bit mask of ready slots More...
 
uint32_t wait_flag
 indicates the wait condition is in use More...
 
uint32_t all_msk
 bit mask of all available slots More...
 
pthread_cond_t cond
 if no slots are free, wait for this condition More...
 
pthread_mutex_t mutex
 if no slots are free, block on this mutex More...
 
struct timespec * timeout
 allow a time-out clock More...
 

Field Documentation

uint32_t SprAtomicSlot::free_msk

bit mask of free slots

1 means free

uint32_t SprAtomicSlot::ready_msk

bit mask of ready slots

1 means ready

uint32_t SprAtomicSlot::wait_flag

indicates the wait condition is in use

uint32_t SprAtomicSlot::all_msk

bit mask of all available slots

pthread_cond_t SprAtomicSlot::cond

if no slots are free, wait for this condition

pthread_mutex_t SprAtomicSlot::mutex

if no slots are free, block on this mutex

struct timespec* SprAtomicSlot::timeout

allow a time-out clock