PyDocs

Concurrent Execution

multiprocessing

not Androidnot iOSnot WASI

Process-based parallelism.
Symbols in multiprocessing

a

active_children
Return list of process objects corresponding to live child processes
Array
Returns a synchronized shared array
AuthenticationError
Raised when there is an authentication error.

b

Barrier
Returns a barrier object
BoundedSemaphore
Returns a bounded semaphore object
BufferTooShort
Exception raised by Connection.recv_bytes_into() when the supplied buffer object is too small for the message read.

c

Condition
Returns a condition object
cpu_count
Returns the number of CPUs in the system
current_process
Return process object representing the current process

e

Event
Returns an event object

f

freeze_support
Check whether this is a fake forked process in a frozen executable.

g

get_all_start_methods
Returns a list of the supported start methods, default first.
get_context
Return a context object which has the same attributes as the multiprocessing module.
get_logger
Return package logger -- if it does not already exist then it is created.
get_start_method
Return the name of start method used for starting processes.

j

JoinableQueue
Returns a queue object

l

Lock
Returns a non-recursive lock object
log_to_stderr
Turn on logging and add a handler which prints to stderr

m

Manager
Returns a manager associated with a running server process

p

parent_process
Return process object representing the parent process
Pipe
Returns two connection object connected by a pipe
Process
Process objects represent activity that is run in a separate process.
ProcessError
The base class of all multiprocessing exceptions.

q

Queue
Returns a queue object

r

RLock
Returns a recursive lock object

s

Semaphore
Returns a semaphore object
set_executable
Sets the path to a python.exe or pythonw.exe binary used to run child processes instead of sys.executable when using the 'spawn' start method.
set_forkserver_preload
Set list of module names to try to load in forkserver process.
set_start_method
Set the method which should be used to start child processes.
SimpleQueue
Returns a queue object

t

TimeoutError
Raised by methods with a timeout when the timeout expires.

v

Value
Returns a synchronized shared object