Expand description
ipc-ring48 is a bounded 48-byte POSIX shared-memory SPSC queue.
The queue has one producer, one consumer, fixed 48-byte slots, and a
lock-free hot path. push returns PushError::Full when the queue is
full. pop returns None when the queue is empty.
Structs§
- Consumer
- Queue consumer.
- Counter
Line - Producer
- Queue producer.
- Queue
Stats - Snapshot of queue state.
- Shared
Header - Slot48
Enums§
- Push
Error - Error returned by
Producer::pushwhen the queue is full.
Constants§
- PAYLOAD_
SIZE - Fixed payload size carried by every queue slot.
- SHM_
NAME - POSIX shared-memory object name used by
ipc-ring48.