def use_eventlet(): pool = GreenPool(100) pile = GreenPile(pool) for i in range(10): pile.spawn(do_large_computation) print pile.next()