(self, *args, **kwargs)
Begin internal execution.
Begin internal execution.
Begin internal execution .
def start(self, *args, **kwargs):
        """Begin internal execution."""
        with self._startlock:
            if self.is_running():
                raise AlreadyRunningError()
            if not self.RESTARTABLE and self._numstarts > 0:
                raise AlreadyStartedError()

            self._is_running = self._start(*args, **kwargs)
            self._numstarts += 1
def start ( self , * args , * * kwargs ) : with self . _startlock : if self . is_running ( ) : raise AlreadyRunningError ( ) if not self . RESTARTABLE and self . _numstarts > 0 : raise AlreadyStartedError ( ) self . _is_running = self . _start ( * args , * * kwargs ) self . _numstarts += 1