Python threading Functions
EditRocket provides the following information on threading functions in the Python source code builder.
BoundedSemaphore([value]) - A factory function that returns a new bounded semaphore object.
Condition() - A factory function that returns a new condition variable object.
Event() - A factory function that returns a new event object.
Lock() - A factory function that returns a new primitive lock object.
RLock() - A factory function that returns a new reentrant lock object.
Semaphore([value]) - A factory function that returns a new semaphore object.
activeCount() - Return the number of Thread objects currently alive.
currentThread() - Return the current Thread object, corresponding to the caller's thread of control.
enumerate() - Return a list of all Thread objects currently alive.
setprofile(func) - Set a profile function for all threads started from the threading module.
settrace(func) - Set a trace function for all threads started from the threading module.
stack_size([size]) - Return the thread stack size used when creating new threads.