Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/thread/testing/test_pool.py   plexnet(Download)
        pool.dispatch(f, i) 
    for i in range(num):
        q.get()
    assert len(pool._alive) == 4
    pool.shutdown()
    def f():
        q.get() 
    reply = pool.dispatch(f)
    pool.shutdown()
    py.test.raises(IOError, pool.join, 0.01)