libmizu 0.0.1
Lock-free shared-memory IPC
Loading...
Searching...
No Matches
Data Fields
mizu_channel_opts_s Struct Reference

size-stamped options; mizu_channel_opts_init zeroes + stamps. More...

#include <mizu.h>

Data Fields

uint32_t size
 
uint32_t capacity
 ring slots, power of two, 2..2^24
 
uint32_t slot_size
 bytes per slot, power of two, 64..2^20
 
uint64_t arena_size
 bytes per direction; 0 disables
 
uint32_t flags
 MIZU_FLAG_SPIN.
 
const uint8_t * drop
 peer bootstrap bytes (may be NULL)
 
uint64_t drop_size
 

Detailed Description

size-stamped options; mizu_channel_opts_init zeroes + stamps.

drop is the peer bootstrap payload, copied into the region at create (opaque bytes; its first byte is a MIZU_DROP_* tag by binding convention; the peer's binding reads them after attach).


The documentation for this struct was generated from the following file: