Expand description
Structs§
- ConsEnd
- Consumer endpoint for retrieving data from the circular buffer.
See
ConsEnd::pop()andConsEnd::read(). - ProdEnd
- Producer endpoint for inserting data into the circular buffer.
See
ProdEnd::push()andProdEnd::write().
Functions§
- new_
scbuf - Creates a new circular buffer with the given
capacityand returns one consumer and one producer endpoint.