is_set() Return true if and only if the internal flag is true.
Semaphore([value]) Create a shared
release() Release the underlying lock. This method calls the corresponding method on the underlying lock; there is no return
notify_all() Wake up all threads waiting on this condition. This method acts like notify(), but wakes up all waiting
exception concurrent.futures.TimeoutError Raised when a future operation exceeds the given timeout.
reset() Return the barrier to the default, empty state. Any threads waiting on it will receive the BrokenBarrierError
empty() Return True if the queue is empty, False otherwise. Because of multithreading/multiprocessing
exception(timeout=None) Return the exception raised by the call. If the call hasn’t yet completed then this method will wait
imap_unordered(func, iterable[, chunksize]) The same as imap() except that the ordering of the results from the
put_nowait(obj) Equivalent to put(obj, False).
Page 18 of 29