[][src]Module shine_stdext::spscstate

Structs

Receiver

Receiver part of the communication

RefReceiveBuffer

Reference to the buffer held by the consumer

RefSendBuffer

Reference to the buffer held by the producer

Sender

Sender part of the communication.

Functions

state_channel

Create a Sender/Receiver with an embedded shared buffer for communication. It is not a "Single Producer Single Consumer" queue as some massages might be dropped depending on the thread scheduling.