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

The 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. More...

#include <mizu_ext.h>

Collaboration diagram for mizu_result_sink_s:

Data Fields

mizu_pool * p
mizu_rs_hdr * rs
unsigned char * payload
 rs + sizeof(mizu_rs_hdr): the frame buffer
uint32_t rs_index
uint32_t inline_max
 the slot's payload capacity
uint16_t sub_slot
 the task's submitter (zc keying, probes)
uint64_t seq
 the claimed incarnation (the state word's sequence; the publish CAS expects RUNNING, this worker, this seq)
uint64_t task_id

Detailed Description

The 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.

payload/inline_max expose the slot's frame buffer so the binding frames its ERR envelope inline.


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