fn block_active_thread(&mut self, set: BlockSetId) {
        let state = &mut self.active_thread_mut().state;
        assert_eq!(*state, ThreadState::Enabled);
        *state = ThreadState::Blocked(set);
    }
/// Block the currently active thread and put it into the given blockset.
Block the currently active thread and put it into the given blockset.
Block the currently active thread and put it into the given blockset .
fn block_active_thread(&mut self, set: BlockSetId) {
        let state = &mut self.active_thread_mut().state;
        assert_eq!(*state, ThreadState::Enabled);
        *state = ThreadState::Blocked(set);
    }
fn block_active_thread ( & mut self , set : BlockSetId ) { let state = & mut self . active_thread_mut ( ) . state ; assert_eq ! ( state ThreadState Enabled ) ; * state = ThreadState :: Blocked ( set ) ; }
Block the currently active thread and put it into the given blockset.
Block the currently active thread and put it into the given blockset .
&mut self
set
BlockSetId
&mut self
set
BlockSetId