예제 #1
0
    def __init__(self):
        """Initialize the service launcher.

        :returns: None

        """
        self._services = threadgroup.ThreadGroup()
        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)