示例#1
0
 def __init__(self, pid):
     MatsBaseController.__init__(self, pid)
     
     self._ready = Event()
     self._listeners = defaultdict(set) # event_id -> set(callables)
     
     #main loop controls:
     self._stateCondition = Condition()
     self._stateActive = True
     self._statePaused = True
示例#2
0
 def __init__(self, pid):
     MatsBaseController.__init__(self, pid)
     pass