ach
Real-Time IPC Library
|
Attributes to pass to ach_open. More...
#include <ach.h>
Data Fields | |
union { | |
struct { | |
union { | |
int map_anon | |
anonymous channel (put it in process heap, not shm). More... | |
enum ach_map map | |
Where to put channel backing memory. More... | |
} | |
struct ach_header * shm | |
the memory buffer used by anonymous channels | |
union { | |
uint64_t reserve_bits | |
reserve space for bit flags | |
struct { | |
unsigned int lock_source: 1 | |
if true, take the source lock when opening or fail | |
} | |
} | |
} | |
uint64_t reserved_size [8] | |
Reserve space to compatibly add future options. | |
}; | |
Attributes to pass to ach_open.
Library users should access this struct through the provided functions rather than directly manipulating it.
enum ach_map ach_attr::map |
Where to put channel backing memory.
Replaces map_anon.
int ach_attr::map_anon |
anonymous channel (put it in process heap, not shm).