multiprocessing.cpu_count() Return the number of CPUs in the system. May raise
subprocess.getstatusoutput(cmd) Return (status, output) of executing cmd in a shell.
multiprocessing.connection.deliver_challenge(connection, authkey) Send a randomly generated message to the other end of the
multiprocessing.Array(typecode_or_type, size_or_initializer, *, lock=True) Return a ctypes array allocated from shared memory
accept() Accept a connection on the bound socket or named pipe of the listener object and return a Connection object
wait(timeout=None) Wait until notified or until a timeout occurs. If the calling thread has not acquired the lock when this
multiprocessing.connection.answer_challenge(connection, authkey) Receive a message, calculate the digest of the message using
class multiprocessing.Connection send(obj) Send an object to the other end of
returncode Exit status of the child process. Typically, an exit status of 0 indicates that it ran successfully.
concurrent.futures.as_completed(fs, timeout=None) Returns an iterator over the Future instances (possibly created
Page 8 of 29