yep-coc
Overview
- Multi-producer, multi-consumer lock-free queue built for zero-copy data paths.
- Reserve/submit workflow lets producers publish buffers without blocking each other, while consumers reclaim slots independently.
- Designed for high-performance IPC scenarios
Design Highlights
- Queue metadata is stored separately from the contiguous data region so corruption in payload does not affect queue state.
- Ownership of each slot is tracked with atomics, enabling concurrent producers and consumers without coarse locking.
- Producers and consumers operate on
YCQueueProduceSlotandYCQueueConsumeSlothandles, making it explicit when data is ready. - The API supports batching for reserve/submit/consume operations; single-slot helpers are layered on top for convenience.
Quick Start
use YCQueueOwnedData;
use ;
For more complete examples, check examples/simple-send-recv.rs and examples/multi-send-recv.rs.