Function cortex_m_rtfm::atomic
[−]
[src]
pub fn atomic<R, F>(f: F) -> R where
F: FnOnce(&TMax) -> R,
Runs the closure f
"atomically"
No task can preempt the execution of the closure