Expand description
Bounded SPSC ownership receipts (E10.2).
Packet/index ownership moves through a fixed ring. There is no shared
mutable packet buffer: [pop] transfers exclusive ownership of a Copy
receipt. A second take of the same (slot, generation) is Unauthorized.
Structs§
- Ownership
Receipt - Exclusive ownership of one packet or index range. Copy is a token, not a
second owner —
SpscQueue::takeof an already-popped receipt fails. - Spsc
Queue - Single-producer / single-consumer queue of ownership receipts.
Constants§
- SPSC_
CAP - Ring capacity. A 33rd live receipt is
QdnfError::Capacity.