Module Expr Str Import alias Import alias Import alias Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad orelse If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Return NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list decorator_list Assign NameStore Dict ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr finalbody Delete SubscriptDel NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body TryFinally body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Delete AttributeDel NameLoad attr AttributeDel NameLoad attr AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam defaults body Return UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args defaults body TryExcept body Return SubscriptLoad NameLoad Index AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return Call NameLoad keyword Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list
N/A N/A Emulation of the Python ``threading`` module.

It is best to reference the Python documentation for the ``threading`` module,
but this module will provide some cursory information.
 N/A sys N/A coro N/A coro.emulation.thread N/A _trace_hook None settrace N/A N/A func N/A N/A N/A _trace_hook N/A _trace_hook func N/A N/A Lock N/A N/A N/A coro emulation thread LockType N/A RLock N/A N/A N/A coro emulation thread LockType Condition N/A object N/A __init__ N/A N/A self lock N/A None N/A N/A N/A lock None N/A N/A lock N/A RLock N/A N/A self __lock lock N/A N/A self acquire N/A lock acquire N/A N/A self release N/A lock release N/A N/A self __cv N/A N/A coro condition_variable N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A N/A self __lock __enter__ N/A __exit__ N/A N/A self N/A args N/A N/A N/A N/A N/A self __lock __exit args N/A wait N/A N/A self timeout N/A None N/A N/A N/A N/A N/A self __lock release N/A N/A N/A N/A timeout None N/A N/A N/A N/A N/A self __cv wait N/A N/A N/A N/A N/A N/A coro with_timeout timeout N/A N/A self __cv wait N/A N/A N/A N/A coro TimeoutError N/A N/A N/A N/A N/A N/A N/A self __lock acquire N/A notify N/A N/A self N/A N/A N/A N/A N/A N/A self __cv wake_one N/A notify_all N/A N/A self N/A N/A N/A N/A N/A N/A self __cv wake_all N/A N/A notifyAll notify_all N/A Semaphore N/A object N/A __init__ N/A N/A self value N/A 1 N/A N/A N/A self _sem N/A N/A coro semaphore value N/A acquire N/A N/A self blocking N/A True N/A N/A blocking N/A N/A N/A N/A N/A self _sem acquire 1 N/A True N/A N/A N/A N/A len N/A self _sem 1 N/A N/A False N/A N/A N/A N/A N/A self _sem acquire 1 N/A True N/A release N/A N/A self N/A N/A N/A N/A N/A N/A self _sem release 1 N/A N/A __enter__ acquire __exit__ N/A N/A self exc_type exc_value traceback N/A N/A N/A N/A N/A self release N/A N/A BoundedSemaphore N/A Semaphore N/A __init__ N/A N/A self value N/A 1 N/A N/A N/A N/A Semaphore __init__ self value N/A N/A self _initial_value value N/A release N/A N/A self N/A N/A N/A N/A N/A len N/A self _sem N/A self _initial_value N/A N/A N/A ValueError Semaphore released too many times. N/A N/A N/A Semaphore release self N/A N/A Event N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self __cond N/A N/A coro condition_variable N/A N/A self __flag False N/A is_set N/A N/A self N/A N/A N/A N/A self __flag N/A N/A isSet is_set set N/A N/A self N/A N/A N/A N/A self __flag True N/A N/A N/A N/A self __cond wake_all N/A clear N/A N/A self N/A N/A N/A N/A self __flag False N/A wait N/A N/A self timeout N/A None N/A N/A N/A N/A self __flag N/A N/A N/A timeout None N/A N/A N/A N/A N/A self __cond wait N/A N/A N/A N/A N/A N/A coro with_timeout timeout N/A N/A self __cond wait N/A N/A N/A N/A coro TimeoutError N/A N/A N/A N/A N/A _active_threads N/A Thread N/A object N/A N/A Shrapnel emulation of Python Thread.

    XXX: Daemonic threads are not supported (yet).

     N/A daemon False __init__ N/A N/A self group target name args kwargs _co N/A None None None N/A None None N/A N/A N/A group None N/A N/A N/A AssertionError group must be None for now N/A N/A kwargs None N/A N/A kwargs N/A N/A N/A self __target target N/A N/A self __args args N/A N/A self __kwargs kwargs N/A N/A _co None N/A N/A N/A self __co N/A N/A coro new N/A self __bootstrap N/A N/A N/A self __co _co N/A N/A self ident N/A N/A self __co id N/A name N/A N/A N/A N/A N/A self __co set_name name N/A __bootstrap N/A N/A self N/A N/A N/A N/A _active_threads N/A N/A N/A self __co id self N/A _trace_hook N/A N/A N/A N/A sys settrace _trace_hook N/A N/A N/A N/A N/A self run N/A N/A N/A _active_threads N/A N/A N/A self __co id N/A start N/A N/A self N/A N/A N/A N/A N/A N/A self __co start N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self __target N/A N/A N/A N/A self __target N/A self __args N/A self __kwargs N/A N/A N/A self __target N/A self __args N/A self __kwargs N/A join N/A N/A self timeout N/A None N/A N/A N/A timeout None N/A N/A N/A N/A N/A self __co join N/A N/A N/A N/A N/A N/A coro with_timeout timeout N/A N/A self __co join N/A N/A N/A N/A coro TimeoutError N/A N/A N/A is_alive N/A N/A self N/A N/A N/A N/A N/A N/A self __co dead N/A N/A isAlive is_alive name N/A N/A self N/A N/A N/A N/A N/A self __co name N/A property name N/A N/A self name N/A N/A N/A N/A N/A N/A self __co set_name name N/A N/A name setter getName N/A N/A self N/A N/A N/A N/A self name N/A setName N/A N/A self name N/A N/A N/A N/A self name name N/A isDaemon N/A N/A self N/A N/A N/A N/A self daemon N/A setDaemon N/A N/A self daemonic N/A N/A N/A N/A self daemon daemonic N/A N/A N/A local N/A coro ThreadLocal Timer N/A Thread N/A __init__ N/A N/A self interval function args kwargs N/A N/A N/A N/A N/A N/A N/A Thread __init__ self N/A N/A self interval interval N/A N/A self function function N/A N/A self args args N/A N/A self kwargs kwargs N/A N/A self finished N/A Event N/A cancel N/A N/A self N/A N/A N/A N/A N/A N/A self finished set N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self finished wait N/A self interval N/A N/A N/A N/A N/A self finished is_set N/A N/A N/A N/A self function N/A self args N/A self kwargs N/A N/A N/A N/A self finished set N/A N/A current_thread N/A N/A N/A N/A N/A N/A N/A N/A _active_threads N/A N/A N/A N/A coro current id N/A N/A N/A KeyError N/A N/A N/A Thread _co N/A N/A coro current N/A active_count N/A N/A N/A N/A N/A N/A N/A coro get_live_coros N/A N/A activeCount active_count enumerate N/A N/A N/A N/A N/A N/A N/A _active_threads values N/A