pub fn activate(&'a mut self) -> TockResult<ParallelSleepDriver<'a>> {
        let subscription = syscalls::subscribe::<ParallelTimerConsumer, _>(
            DRIVER_NUMBER,
            subscribe_nr::SUBSCRIBE_CALLBACK,
            &mut self.callback,
        )?;
        let driver = ParallelSleepDriver {
            _callback_subscription: subscription,
            context: &self.context,
        };
        Ok(driver)
    }
/// Activate the timer driver, will return a ParallelSleepDriver which
/// can used to sleep.
Activate the timer driver, will return a ParallelSleepDriver which
can used to sleep.
Activate the timer driver will return a ParallelSleepDriver which can used to sleep .
pub fn activate(&'a mut self) -> TockResult<ParallelSleepDriver<'a>> {
        let subscription = syscalls::subscribe::<ParallelTimerConsumer, _>(
            DRIVER_NUMBER,
            subscribe_nr::SUBSCRIBE_CALLBACK,
            &mut self.callback,
        )?;
        let driver = ParallelSleepDriver {
            _callback_subscription: subscription,
            context: &self.context,
        };
        Ok(driver)
    }
pub fn activate ( & ' a mut self ) -> TockResult < ParallelSleepDriver < ' a > > { let subscription = syscalls :: subscribe :: < ParallelTimerConsumer , _ > ( DRIVER_NUMBER , subscribe_nr :: SUBSCRIBE_CALLBACK , & mut self . callback , ) ? ; let driver = ParallelSleepDriver { _callback_subscription : subscription , context : & self . context , } ; Ok ( driver ) }
Activate the timer driver, will return a ParallelSleepDriver which
can used to sleep.
Activate the timer driver will return a ParallelSleepDriver which can used to sleep .
&'a mut self