Function std::sync::spsc_queue::queueExperimental [-]  [+] [src]

pub fn queue<T: Send>(bound: uint) -> (Consumer<T>, Producer<T>)

Creates a new queue with a consumer-producer pair.

The producer returned is connected to the consumer to push all data to the consumer.

Arguments