#[repr(align(4))]struct Waiter {
thread: Cell<Option<Thread>>,
signaled: AtomicBool,
next: *mut Waiter,
}
Expand description
Representation of a node in the linked list of waiters in the RUNNING state. A waiters is stored on the stack of the waiting threads.
Fields§
§thread: Cell<Option<Thread>>
§signaled: AtomicBool
§next: *mut Waiter
Auto Trait Implementations§
impl !Freeze for Waiter
impl !RefUnwindSafe for Waiter
impl !Send for Waiter
impl !Sync for Waiter
impl Unpin for Waiter
impl !UnwindSafe for Waiter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more