def main():
    tb = time.time()
    p = pool.Group()

    for n in xrange(100):
        pars = {'host':'127.0.0.1', 'service': 'www%d' % n, 'state': 'down', 'metric_f': 10000}
        c = p.spawn(_s, pars)
    
    p.join()

    print time.time() - tb
dataset/ETHPy150Open gleicon/pyriemann/examples/tcp_gevent_multiple_send.py/main/original