struct Shared {
local_state: LocalState,
queue: Mutex<Option<VecDeque<Notified<Arc<Shared>>>>>,
waker: AtomicWaker,
}
Expand description
LocalSet
state shared between threads.
Fields§
§local_state: LocalState
Safety
This field must only be accessed from the thread that owns the
LocalSet
(i.e., Thread::current().id() == owner
).
queue: Mutex<Option<VecDeque<Notified<Arc<Shared>>>>>
Remote run queue sender.
waker: AtomicWaker
Wake the LocalSet
task.