libmizu 0.2.0
Lock-free shared-memory IPC at thread speed in C11
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 CArrowArray
 CArrowArrayStream
 CArrowSchema
 Cmizu_arrow_col_s
 Cmizu_arrow_warn_sThe conversion warning counts, accumulated by mizu_cvt_convert and the frame writer; the binding raises them after the stage returns, never mid-stage
 Cmizu_binding_s
 Cmizu_bytes_sA byte buffer
 Cmizu_channel_info_sHandle-local + wire-state snapshot
 Cmizu_channel_opts_sSize-stamped options; mizu_channel_opts_init zeroes + stamps, and create refuses a struct whose stamp is not this header's sizeof (the stamp is what lets a later release accept an older, shorter struct)
 Cmizu_cvt_row_s
 Cmizu_entry_hdr_sInjection ring / deque entry header; payload framing at offset 24, payload bytes at 40
 Cmizu_ix_item_s
 Cmizu_ix_sThe pull cursor
 Cmizu_mizl_entry_sOne MIZL directory entry plus its validity-table pair (mizu.h documents the 32-byte entry): mizu_mizl_elem's out-param
 Cmizu_mizs_geom_sThe small pure helpers over mizu.h's wire-format conventions, dual form like the zc accessors above (see the banner): the timeout unit conversion, the NA_real_ store (for a binding filling converted output without R headers), the aux packing of the pool RAWSPILL and SHM_VEC kinds and its decode pair, the flat MIZH header write/check, the MIZS / MIZL layout checks, the validity-section setter, and the NA sentinel <-> bitmap primitives (one NA-test implementation behind both bindings' validity paths, so two bindings' bitmaps cannot drift apart from the sentinels they describe)
 Cmizu_morsel_hdr_sThe 128-byte region header
 Cmizu_morsel_sizer_sBatch-sizing state: process-private, never wire state, reset at each run's first-call CLAIM CAS
 Cmizu_morsel_span_sWorker-death lost set: issued = [0, bound), lost = issued minus the union of the collected batch histories
 Cmizu_parker_sOne parker per waiting entity: a 32-bit monotonic epoch word in the shared region plus, on Windows only, one named auto-reset event (the epoch compare is not atomic with the sleep there)
 Cmizu_pool_dump_s
 Cmizu_pool_hdr_s
 Cmizu_pool_info_sSnapshots
 Cmizu_pool_opts_sSize-stamped options, as the channel's: mizu_pool_opts_init zeroes + stamps, and create refuses a mismatched stamp
 Cmizu_pool_sig_sThe opaque pool-signal trio a map runner loads relaxed once per batch transition: the help_wanted doorbell, the pool's shared shutdown word, and the handle's process-local listener-written owner_dead flag
 Cmizu_preamble_s
 Cmizu_read_ctx_s
 Cmizu_result_sink_sThe result-sink struct: the core fills it from a claimed entry and hands it to exec_fn; the binding passes it back to the publish verbs
 Cmizu_rs_hdr_s
 Cmizu_rs_row_sOne non-FREE result-slot row (a dump's task table)
 Cmizu_shm_sThe public opaque type in mizu.h; defined here for bindings (the core's control-region mappings embed one in the handle structs)
 Cmizu_slot_hdr_s
 Cmizu_sub_slot_sSubmitter registry slot: one 128-byte span per submitter
 Cmizu_sub_stat_s
 Cmizu_task_sA task handle: an 8-byte value identifying one result slot at one sequence, with a 40-bit sequence in the low bits and a 24-bit result-slot index in the high (result_slots is capped at 2^24 at create)
 Cmizu_wk_slot_sWorker registry slot: two 128-byte spans, with the admin and owner-written fields on the first and the thief-CAS'd deque_top apart on the second, so no span carries two processes' stores
 Cmizu_worker_stat_s