(self)
Start the main process in a thread.
Start the main process in a thread.
Start the main process in a thread .
def startThread(self):
        """Start the main process in a thread."""
        self.queue = []
        self._thread = Thread(target=self._function, args=(self,))
        self._thread.daemon = True
        self._thread.start()
def startThread ( self ) : self . queue = [ ] self . _thread = Thread ( target = self . _function , args = ( self , ) ) self . _thread . daemon = True self . _thread . start ( )