blob: 1ac08222c0b488b84a3fdcd699a7e9a40c54d28b [file] [log] [blame]
//! Task notification
mod spawn;
pub use self::spawn::{SpawnExt, SpawnError};
if_std! {
pub use self::spawn::JoinHandle;
mod local_waker_ref;
pub use self::local_waker_ref::{local_waker_ref, local_waker_ref_from_nonlocal, LocalWakerRef};
}
#[cfg_attr(
feature = "nightly",
cfg(all(target_has_atomic = "cas", target_has_atomic = "ptr"))
)]
mod atomic_waker;
#[cfg_attr(
feature = "nightly",
cfg(all(target_has_atomic = "cas", target_has_atomic = "ptr"))
)]
pub use self::atomic_waker::AtomicWaker;