Module shmem_ipc::ringbuf

source ·
Expand description

This is a fast ringbuffer that tries to avoid memory copies as much as possible. There can be one producer and one consumer, but they can be in different threads i e, they are Send but not Clone.

Structs

Enums

Enumeration of errors possible in this library

Functions

Initializes a ring buffer.
Use this utility function to figure out how big buffer you need to allocate.