示例#1
0
    def __init__(self):
        """Initialize the service launcher.

        :returns: None

        """
        self._services = threadgroup.ThreadGroup()
        self.backdoor_port = eventlet_backdoor.initialize_if_enabled()
示例#2
0
 def __init__(self):
     self.services = []
     self.tg = threadgroup.ThreadGroup()
     self.done = event.Event()
示例#3
0
    def __init__(self, threads=1000):
        self.tg = threadgroup.ThreadGroup(threads)

        # signal that the service is done shutting itself down:
        self._done = event.Event()
示例#4
0
 def __init__(self, threads=1000):
     self.tg = threadgroup.ThreadGroup(threads)