ach
Real-Time IPC Library
|
Attributes to pass to ach_create. More...
#include <ach.h>
Data Fields | |
union { | |
struct { | |
union { | |
int map_anon | |
allocate channel in heap, rather than shm | |
enum ach_map map | |
replaces map_anon | |
} | |
struct ach_header * shm | |
pointer to channel, set on output of create iff map_anon | |
clockid_t clock | |
Which clock to use if set_clock is true. More... | |
unsigned int truncate: 1 | |
remove and recreate an existing shm file | |
unsigned int set_clock: 1 | |
if true, set the clock of the condition variable | |
} | |
uint64_t reserved [16] | |
Reserve space to compatibly add future options. | |
}; | |
Attributes to pass to ach_create.
Library users should access this struct through the provided functions rather than directly manipulating it.
clockid_t ach_create_attr::clock |
Which clock to use if set_clock is true.
The default is defined by ACH_DEFAULT_CLOCK.