[][src]Module eiz::rt_queue

Provides queues suitable for use in real-time programming. Real-time in this sense is defined as "threads which need to service events on a fixed deadline." For example, audio or other hardware interfacing where the hardware will produce incorrect behavior if a deadline is missed. Special care is taken to provide interfaces which are not subject to priority inversion or other thread scheduling anomalies, to the extent possible.

Probably unsound/buggy. Don't use it. Have you tried crossbeam channels?

Structs

AtomicRing

A wait-free, single producer, single consumer, thread safe ring buffer.

AtomicRingReader

The read side of an atomic ring buffer.

AtomicRingWriter

The write side of an atomic ring buffer.

MpscQueue

A simple bounded multiple producer, single consumer queue.

MpscQueueReader

The read side an of an MPSC queue.

MpscQueueWriter

The write side of an MPSC queue.

Traits

Pop

The try_pop operation.

PopN

The try_popn operation.

PopNCopy

The try_popn_copy operation.

PopWait

The pop operation.

Push

The try_push operation.

PushN

The try_pushn operation.

PushNCopy

The try_pushn_copy operation.

PushNCopyWait

The pushn_copy operation.

PushNWait

The pushn operation.

PushWait

The push operation.