Class Thread.Fifo

Inheritance graph
Description

Fifo implements a fixed length first-in, first-out queue. A fifo is a queue of values and is often used as a stream of data between two threads.

See also

Queue


Inherit lock

inherit Mutex : lock


Inherit r_cond

inherit Condition : r_cond


Inherit w_cond

inherit Condition : w_cond


Method create

Thread.Fifo Thread.Fifo()
Thread.Fifo Thread.Fifo(int size)

Description

Create a fifo. If the optional size argument is present it sets how many values can be written to the fifo without blocking. The default size is 128.

There are no comments to this page yet!