libmizu 0.2.0
Lock-free shared-memory IPC at thread speed in C11
Loading...
Searching...
No Matches
mizu_pool_opts_s Struct Reference

size-stamped options, as the channel's: mizu_pool_opts_init zeroes + stamps, and create refuses a mismatched stamp. More...

#include <mizu.h>

Data Fields

uint32_t size
uint32_t max_workers
 <= MIZU_MAX_WORKERS
uint32_t max_submitters
 <= 64
uint32_t injection_cap
 entries per submitter ring, power of two
uint32_t per_worker_cap
 deque entries per worker, power of two
uint32_t result_slots
 rounded up to a multiple of max_submitters
uint32_t slot_size
 bytes per entry / result slot, pow2, 128..2^20

Detailed Description

size-stamped options, as the channel's: mizu_pool_opts_init zeroes + stamps, and create refuses a mismatched stamp.


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