struct ShardedCoord {
num_notify: u32,
thread_mgmt_state: ThreadManagementState,
}Expand description
State protected by ShardedImpl::coord. This mirrors LockedInner,
except that the queue itself lives in the shards.
Fields§
§num_notify: u32Pending worker wakeups. A spawner claims an idle worker by
decrementing num_idle_threads and incrementing this; a woken worker
acknowledges by decrementing it. Distinguishes real wakeups from
spurious ones.
thread_mgmt_state: ThreadManagementStateAuto Trait Implementations§
impl !RefUnwindSafe for ShardedCoord
impl !UnwindSafe for ShardedCoord
impl Freeze for ShardedCoord
impl Send for ShardedCoord
impl Sync for ShardedCoord
impl Unpin for ShardedCoord
impl UnsafeUnpin for ShardedCoord
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