triple_buffer

Function triple_buffer 

Source
pub fn triple_buffer<T>() -> (Writer<T>, Reader<T>)
Expand description

Create a new wait-free riple buffer.

§Example

use waitfree_sync::triple_buffer;

//               Data type ──╮   ╭─ Capacity
let (wr, rd) = triple_buffer::triple_buffer::<u64>();