Function in_interrupt_context

Source
pub fn in_interrupt_context() -> bool
Expand description

Returns whether we are in the interrupt context.

Note that both the top half and the bottom half is processed in the interrupt context.