Function fifo::fifo [] [src]

pub fn fifo(size: usize) -> (Sender, Receiver)

Construct the fifo with capacity as align_up_for_fifo_size(usize), and return the Sender and Receiver pair connected with that.