put_nowait(obj) Equivalent to put(obj, False).
_thread.LockType This is the type of lock objects.
class threading.Lock The class implementing primitive lock objects. Once a thread has acquired a lock, subsequent attempts to
multiprocessing.get_context(method=None) Return a context object which has the same attributes as the multiprocessing
threading.current_thread() Return the current Thread object, corresponding to the caller’s thread of control. If
Semaphore([value]) Create a shared
empty() Return True if the queue is empty, False otherwise. Because of multithreading/multiprocessing
wait_for(predicate, timeout=None) Wait until a condition evaluates to True. predicate should be a callable which result
is_set() Return true if and only if the internal flag is true.
put(item) Put item into the queue.
Page 22 of 29