pub struct InterruptContext { /* private fields */ }Expand description
Keep track of whether we need to yield the execution to a different task at the end of the interrupt.
Should be dropped as the last thing inside a interrupt.
Implementations§
Source§impl InterruptContext
impl InterruptContext
Sourcepub fn new() -> InterruptContext
pub fn new() -> InterruptContext
Instantiate a new context.