Struct triple_buffer::TripleBufferInput
[−]
[src]
pub struct TripleBufferInput<T: Clone + PartialEq + Send> { /* fields omitted */ }
Producer interface to the triple buffer
The producer of data can use this struct to submit updates to the triple buffer whenever he likes. These updates are nonblocking: a collision between the producer and the consumer will result in cache contention, but deadlocks and scheduling-induced slowdowns cannot happen.
Methods
impl<T: Clone + PartialEq + Send> TripleBufferInput<T>
[src]
fn write(&mut self, value: T)
Write a new value into the triple buffer