Beispiel #1
0
 def __init__(self):
     self.starting_event = Event()   # used to lock task until _work() is called
     self.running_event = Event()    # used to lock running loop
     self.finished_event = Event()   # used to lock until Task.work() is complete
     self.failsafe = None
     self.data = None
     Task.__init__(self)