|
ach
Real-Time IPC Library
|
Descriptor for an Ach channel. More...
#include <ach.h>
Data Fields | |
| union { | |
| struct { | |
| struct ach_header * shm | |
| pointer to mmap'ed block | |
| size_t len | |
| length of memory mapping | |
| int fd | |
| file descriptor of mmap'ed file | |
| union { | |
| uint64_t seq_num | |
| last sequence number read | |
| achk_opt_t k_opts | |
| Used by kernel devices. | |
| } | |
| size_t next_index | |
| next index entry to try get from | |
| clockid_t clock | |
| attributes used to create this channel | |
| volatile sig_atomic_t cancel | |
| cancel a waiting ach_get | |
| const struct ach_channel_vtab * vtab | |
| virtual method table | |
| int fd_source_lock | |
| file descriptor for source lock | |
| } | |
| uint64_t reserved [16] | |
| Reserve space to compatibly add future options. | |
| }; | |
Descriptor for an Ach channel.
Library users are strongly discourged from directly accessing members of this structure; its fields may change in future library versions. All access should be through the provided library functions.