aboutsummaryrefslogtreecommitdiff
path: root/rtic-sync/src/lib.rs
blob: c2f323f044842801c46fbbf6e6cc06b19a269bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Synchronization primitives for asynchronous contexts.

#![cfg_attr(not(loom), no_std)]
#![deny(missing_docs)]

#[cfg(feature = "defmt-03")]
use defmt_03 as defmt;

pub mod arbiter;
pub mod channel;
pub use portable_atomic;
pub mod signal;

mod unsafecell;

#[cfg(test)]
#[macro_use]
extern crate std;

#[cfg(loom)]
mod loom_cs;