Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/service.py   cloudbase-init(Download)
    def __init__(self, threads=1000):
        self.tg = threadgroup.ThreadGroup(threads)
 
        # signal that the service is done shutting itself down:
        self._done = event.Event()
    def __init__(self):
        self.services = []
        self.tg = threadgroup.ThreadGroup()
        self.done = event.Event()