gevent.rawgreenlet – A few utilities for raw greenlets

Warning

This module is deprecated. Use gevent.Greenlet instead.

Note

These functions do not support timeout parameter.

gevent.rawgreenlet.kill(greenlet, exception=<class 'greenlet.GreenletExit'>, block=True, polling_period=0.2)

Kill greenlet with exception (GreenletExit by default). Wait for it to die if block is true.

gevent.rawgreenlet.killall(greenlets, exception=<class 'greenlet.GreenletExit'>, block=True, polling_period=0.2)

Kill all the greenlets with exception (GreenletExit by default). Wait for them to die if block is true.

gevent.rawgreenlet.join(greenlet, polling_period=0.2)

Wait for a greenlet to finish by polling its status

gevent.rawgreenlet.joinall(greenlets, polling_period=0.2)

Wait for the greenlets to finish by polling their status

Related pages