๐ฌThis is a nightly-only experimental API. (
mpmc_channel #126840)Expand description
Waking mechanism for threads blocked on channel operations.
Re-exportsยง
use super::context::Context;๐Experimental use super::select::Operation;๐Experimental use super::select::Selected;๐Experimental use crate::ptr;๐use crate::sync::Mutex;๐use crate::sync::atomic::Atomic;๐Experimental use crate::sync::atomic::AtomicBool;๐use crate::sync::atomic::Ordering;๐
Structsยง
- Entry ๐
Experimental - Represents a thread blocked on a specific channel operation.
- Sync
Waker ๐Experimental - A waker that can be shared among threads without locking.
- Waker ๐
Experimental - A queue of threads blocked on channel operations.
Functionsยง
- current_
thread_ ๐id Experimental - Returns a unique id for the current thread.