Lock() Create a shared
join(timeout=None) Wait until the thread terminates. This blocks the calling thread until the thread whose join()
qsize() Return the approximate size of the queue. Because of multithreading/multiprocessing semantics, this number is not reliable
class concurrent.futures.ProcessPoolExecutor(max_workers=None) An Executor subclass that executes calls asynchronously
multiprocessing.set_start_method(method) Set the method which should be used to start child processes. method can be
cmd Command that was used to spawn the child process.
args The arguments used to launch the process. This may be a list or a string.
get([block[, timeout]]) Remove and return an item from the queue. If optional args block is True (the
_thread.allocate_lock() Return a new lock object. Methods of locks are described below. The lock is initially unlocked.
clear() Reset the internal flag to false. Subsequently, threads calling wait() will block until set()
Page 28 of 29