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

The pull cursor. More...

#include <mizu_ext.h>

Data Fields

const unsigned char * p
const unsigned char * end
uint32_t depth
int done
 the root value completed
int err
 latched: all later calls fail
struct { 
   uint32_t   kind 
 the MIZU_IX_* begin kind
   uint64_t   remaining 
 items owned at this level
} stack [MIZU_IX_DEPTH_MAX+1]

Detailed Description

The pull cursor.

Stack-allocated by the caller; the frame stack is the depth cap's accounting: the container frames (LIST / DICT / ATTR / TASK, the dict's remaining counting keys and values alike) count toward the cap, while an STRV frame is a leaf — nothing opens under it — and rides the one slot past it, so a string vector at depth 64 reads.


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