(self)
return self._thread
Get the current running thread.
        If not running, None will be returned.
Get the current running thread.
        If not running, None will be returned.
Get the current running thread . If not running None will be returned .
def thread(self):
        """Get the current running thread.
        If not running, None will be returned.
        """
        if self.state() == ThreadState.Stopped:
            return None
        return self._thread
def thread ( self ) : if self . state ( ) == ThreadState . Stopped : return None return self . _thread