Пример #1
0
 def start(self):
     self.threadControlLock.acquire()
     try:
         ExecutableDevice.start(self)
         if self.process_thread == None:
             self.process_thread = ProcessThread(target=self.process, pause=self.PAUSE)
             self.process_thread.start()
     finally:
         self.threadControlLock.release()
 def start(self):
     ExecutableDevice.start(self)
     self.process_thread = ProcessThread(target=self.process, pause=self.PAUSE)
     self.process_thread.start()
 def start(self):
     ExecutableDevice.start(self)
     ThreadedComponent.startThread(self, pause=self.PAUSE)
 def start(self):
     ExecutableDevice.start(self)
     self.process_thread = ProcessThread(target=self.process,
                                         pause=self.PAUSE)
     self.process_thread.start()