multiprocessing

Functions

Array(typecode_or_type, size_or_initializer, ...) Returns a synchronized shared array
BoundedSemaphore([value]) Returns a bounded semaphore object
Condition([lock]) Returns a condition object
Event() Returns an event object
JoinableQueue([maxsize]) Returns a queue object
Lock() Returns a non-recursive lock object
Manager() Returns a manager associated with a running server process
Pipe([duplex]) Returns two connection object connected by a pipe
Pool([processes, initializer, initargs, ...]) Returns a process pool object
Queue([maxsize]) Returns a queue object
RLock() Returns a recursive lock object
RawArray(typecode_or_type, size_or_initializer) Returns a shared array
RawValue(typecode_or_type, *args) Returns a shared object
Semaphore([value]) Returns a semaphore object
Value(typecode_or_type, *args, **kwds) Returns a synchronized shared object
active_children() Return list of process objects corresponding to live child processes
allow_connection_pickling() Install support for sending connections and sockets between processes
cpu_count() Returns the number of CPUs in the system
current_process() Return process object representing the current process
freeze_support() Check whether this is a fake forked process in a frozen executable.
get_logger() Return package logger – if it does not already exist then it is created
log_to_stderr([level]) Turn on logging and add a handler which prints to stderr

Classes

Process([group, target, name, args, kwargs]) Process objects represent activity that is run in a separate process