def start(self):
     self.threadControlLock.acquire()
     try:
         Device.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):
     self.threadControlLock.acquire()
     try:
         Device.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):
     Device.start(self)
     ThreadedComponent.startThread(self, pause=self.PAUSE)
 def start(self):
     Device.start(self)
     ThreadedComponent.startThread(self, pause=self.PAUSE)
 def start(self):
     Device.start(self)
     if self.process_thread == None:
         self.process_thread = ProcessThread(target=self.process, pause=self.PAUSE)
         self.process_thread.start()
Beispiel #6
0
 def start(self):
     Device.start(self)
     if self.process_thread == None:
         self.process_thread = ProcessThread(target=self.process,
                                             pause=self.PAUSE)
         self.process_thread.start()