2021-09-13 14:35:40 +02:00
|
|
|
#![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)]
|
2022-06-12 22:15:44 +02:00
|
|
|
#![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))]
|
2022-06-11 00:42:20 +02:00
|
|
|
#![cfg_attr(all(feature = "nightly", target_arch = "xtensa"), feature(asm_experimental_arch))]
|
2021-10-18 00:55:43 +02:00
|
|
|
#![allow(clippy::new_without_default)]
|
2022-06-15 09:06:18 +02:00
|
|
|
#![doc = include_str!("../../README.md")]
|
2022-06-26 00:53:35 +02:00
|
|
|
#![warn(missing_docs)]
|
2020-09-22 18:03:43 +02:00
|
|
|
|
2020-12-01 17:46:56 +01:00
|
|
|
// This mod MUST go first, so that the others see its macros.
|
|
|
|
pub(crate) mod fmt;
|
|
|
|
|
2021-09-11 01:53:53 +02:00
|
|
|
pub mod blocking_mutex;
|
|
|
|
pub mod channel;
|
2022-04-06 01:23:42 +02:00
|
|
|
pub mod mutex;
|
|
|
|
pub mod waitqueue;
|
2021-03-02 00:32:23 +01:00
|
|
|
|
2022-07-29 21:58:35 +02:00
|
|
|
mod forever;
|
|
|
|
mod select;
|
|
|
|
mod yield_now;
|
2021-03-17 01:47:45 +01:00
|
|
|
|
2022-07-29 21:58:35 +02:00
|
|
|
pub use forever::*;
|
|
|
|
pub use select::*;
|
|
|
|
pub use yield_now::*;
|