name The process’s name. The name is a string used for identification purposes only. It has no semantics. Multiple processes
release() Release a lock. This can be called from any thread, not only the thread which has acquired the lock.
lock.release() Releases the lock. The lock must have been acquired earlier, but not necessarily by the same thread.
cancel() Stop the timer, and cancel the execution of the timer’s action. This will only work if the timer is still in its waiting
exception queue.Full Exception raised when non-blocking put() (or put_nowait()) is called on a Queue
acquire(blocking=True, timeout=None) Acquire a semaphore. When invoked without arguments: if
dict() dict(mapping) dict(sequence) Create a shared dict
Barrier(parties[, action[, timeout]]) Create a shared
wait(timeout=None) Block until the internal flag is true. If the internal flag is true on entry, return immediately. Otherwise
threading.main_thread() Return the main Thread object. In normal conditions, the main thread is the thread from
Page 3 of 29