pub struct SchedulerTickGate { /* private fields */ }Expand description
Shared process or subsystem interest in scheduler-tick task work.
An operating system may share one gate across every scheduler thread that belongs to the same higher-level accounting domain. The hard-IRQ path only observes this atomic gate; it never invokes the associated callback.
Implementations§
Source§impl SchedulerTickGate
impl SchedulerTickGate
Sourcepub fn set_enabled(&self, enabled: bool)
pub fn set_enabled(&self, enabled: bool)
Publishes whether scheduler ticks should enqueue deferred extension work.
A disable transition invalidates every queued publication from the previous enabled generation. It does not wait for a callback that an ordinary-context consumer already claimed.
Trait Implementations§
Source§impl Debug for SchedulerTickGate
impl Debug for SchedulerTickGate
Auto Trait Implementations§
impl !Freeze for SchedulerTickGate
impl RefUnwindSafe for SchedulerTickGate
impl Send for SchedulerTickGate
impl Sync for SchedulerTickGate
impl Unpin for SchedulerTickGate
impl UnsafeUnpin for SchedulerTickGate
impl UnwindSafe for SchedulerTickGate
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