Function fifo::fifo
[−]
[src]
pub fn fifo(size: usize) -> (Sender, Receiver)
Construct the fifo with capacity as size.next_power_of_two()
,
and return the Sender
and Receiver
pair connected with that.