def start(self, priority, initEvent=None):
    self.priority = priority
    Framework.add(self)
    self.mq = collections.deque()
    self.init(self, initEvent)
    Framework._event_loop.call_soon_threadsafe(Framework.run)
def start(self, priority, initEvent=None):
    self.priority = priority
    Framework.add(self)
    self.mq = collections.deque()
    self.init(self, initEvent)
    Framework._event_loop.call_soon_threadsafe(Framework.run)