gevent.thread – Implementation of the standard thread module that spawns greenlets

Implementation of the standard thread module that spawns greenlets.

Note

This module is a helper for gevent.monkey and is not intended to be used directly. For spawning greenlets in your applications, prefer Greenlet class.

gevent.thread.allocate_lock

alias of Semaphore

gevent.thread.get_ident(gr=None)
gevent.thread.exit()
gevent.thread.LockType

alias of Semaphore

gevent.thread.stack_size(size=None)
gevent.thread.start_new_thread(function, args=(), kwargs={})
exception gevent.thread.error