Ejemplo n.º 1
0
    def __init__(self):
        """Initialize the service launcher.

        :returns: None

        """
        self._services = threadgroup.ThreadGroup()
        self.backdoor_port = eventlet_backdoor.initialize_if_enabled()
Ejemplo n.º 2
0
 def __init__(self):
     self.services = []
     self.tg = threadgroup.ThreadGroup()
     self.done = event.Event()
Ejemplo n.º 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()
Ejemplo n.º 4
0
 def __init__(self, threads=1000):
     self.tg = threadgroup.ThreadGroup(threads)