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/g/r/gruvi-HEAD/tests/test_fibers.py   gruvi(Download)
        def fiber(i):
            if i == 0:
                done.emit('foo')
            else:
                gruvi.spawn(fiber, i-1)
        done = gruvi.Signal()
        gruvi.spawn(fiber, 100)