Function canal::mpmc::mpmc_channel [] [src]

pub fn mpmc_channel<T: Send>(cap: usize) -> (Sender<T>, Receiver<T>)

Create a channel pair using a lock-free queue with specified capacity.

Note: This is not ready for use in production, some bugs are still being actively worked out.