BoundedSemaphore(*args, **kwargs) |
A factory function that returns a new bounded semaphore. |
Condition(*args, **kwargs) |
Factory function that returns a new condition variable object. |
Event(*args, **kwargs) |
A factory function that returns a new event. |
Lock(...) |
Create a new lock object. |
RLock(*args, **kwargs) |
Factory function that returns a new reentrant lock. |
Semaphore(*args, **kwargs) |
A factory function that returns a new semaphore. |
Timer(*args, **kwargs) |
Factory function to create a Timer object. |
activeCount() |
Return the number of Thread objects currently alive. |
active_count() |
Return the number of Thread objects currently alive. |
currentThread() |
Return the current Thread object, corresponding to the caller’s thread of control. |
current_thread() |
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]) -> size) |
Return the thread stack size used when creating new threads. |