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?
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?