Example #1
0
 class ThreadHolder(object):
     def __init__(self, *args, **kw):
         self.thread = ALProxyThread(*args, **kw)
         self.thread.start()
         self.cleaner = None
         self.busy = False # When True don't give any more motions
     def makeBusy(self, cleaner):
         self.cleaner = cleaner
         self.busy = True
         return self
Example #2
0
 def __init__(self, *args, **kw):
     self.thread = ALProxyThread(*args, **kw)
     self.thread.start()
     self.cleaner = None
     self.busy = False # When True don't give any more motions