gfm.core.queue

Undocumented in source.

Members

Classes

LockedQueue
class LockedQueue(T)

Locked queue for inter-thread communication. Support multiple writers, multiple readers. Blocks threads either when empty or full.

QueueImpl
class QueueImpl(T, OverflowPolicy overflowPolicy)

Doubly-indexed queue, can be used as a FIFO or stack.

Templates

FixedSizeQueue
template FixedSizeQueue(T)

A fixed-sized queue that will crash on overflow.

Queue
template Queue(T)

A queue that can only grow.

RingBuffer
template RingBuffer(T)

Ring buffer, it drops if its capacity is exceeded.

Meta