//! Routines for managing interrupts.
use *;
use PhantomData;
/// Helper struct that automatically restores interrupts
/// on drop.
>);
/// Executes a closure, disabling interrupts until its completion.
///
/// Restores interrupts after the closure has completed
/// execution.