fn drop(&mut self) {
        let mut inner = self.inner.lock();
        self.exceptionate.shutdown();
        inner.change_state(ThreadState::Dead, &self.base);
        self.proc().remove_thread(self.base.id);
    }
/// Terminate the current running thread.
Terminate the current running thread.
Terminate the current running thread .
fn drop(&mut self) {
        let mut inner = self.inner.lock();
        self.exceptionate.shutdown();
        inner.change_state(ThreadState::Dead, &self.base);
        self.proc().remove_thread(self.base.id);
    }
fn drop ( & mut self ) { let mut inner = self . inner . lock ( ) ; self . exceptionate . shutdown ( ) ; inner . change_state ( ThreadState :: Dead , & self . base ) ; self . proc ( ) . remove_thread ( self . base . id ) ; }
Terminate the current running thread.
Terminate the current running thread .
&mut self
&mut self