Skip to main content

rtic_sync/
lib.rs

1//! Synchronization primitives for asynchronous contexts.
2
3#![cfg_attr(not(loom), no_std)]
4#![deny(missing_docs)]
5
6#[cfg(feature = "defmt-03")]
7use defmt_03 as defmt;
8
9pub mod arbiter;
10pub mod channel;
11pub use portable_atomic;
12pub mod signal;
13pub mod watch;
14
15mod unsafecell;
16
17#[cfg(test)]
18#[macro_use]
19extern crate std;
20
21#[cfg(loom)]
22mod loom_cs;