Struct bare_metal::Mutex [−][src]
pub struct Mutex<T> { /* fields omitted */ }A "mutex" based on critical sections
Methods
impl<T> Mutex<T>[src]
impl<T> Mutex<T>impl<T> Mutex<T>[src]
impl<T> Mutex<T>pub fn borrow<'cs>(&self, _cs: &'cs CriticalSection) -> &'cs T[src]
pub fn borrow<'cs>(&self, _cs: &'cs CriticalSection) -> &'cs TBorrows the data for the duration of the critical section