Skip to content

Peek for spsc and mpmc queue #23

@GMellar

Description

@GMellar

In my use case I use the mpmc queue on an STM32 where I write data from SPI to TCP. SPI is received by using DMA and the completion interrupt. MPMC is needed because there are some pushes from non interrupt routines. In the ring buffer there is the Peek() method.

TCP might fail if there is not enough space in the transmission buffer bit I don't know that before I consume the data from the buffer. At the moment the data is lost but in the future I would like to implement a peek method. Are there any plans at the moment to implement that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions