💾 Archived View for tris.fyi › pydoc › multiprocessing captured on 2023-01-29 at 03:23:36. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
This module has no docstring.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
close(self) Close the Process object. This method releases resources held by the Process object. It is an error to call this method if the child process is still running.
is_alive(self) Return whether process is alive
join(self, timeout=None) Wait until child process terminates
kill(self) Terminate process; sends SIGKILL signal or uses TerminateProcess()
run(self) Method to be run in sub-process; can be overridden in sub-class
start(self) Start child process
terminate(self) Terminate process; sends SIGTERM signal or uses TerminateProcess()
authkey = <property object at 0x7f75e1c84cc0>
daemon = <property object at 0x7f75e1c84c70> Return whether process is a daemon
exitcode = <property object at 0x7f75e1c84b80> Return exit code of process or `None` if it has yet to stop
ident = <property object at 0x7f75e1c84bd0> Return identifier (PID) of process or `None` if it has yet to start
name = <property object at 0x7f75e1c84c20>
pid = <property object at 0x7f75e1c84bd0> Return identifier (PID) of process or `None` if it has yet to start
sentinel = <property object at 0x7f75e1c84d10> Return a file descriptor (Unix) or handle (Windows) suitable for waiting for process termination.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Array(typecode_or_type, size_or_initializer, *, lock=True) Returns a synchronized shared array
Barrier(parties, action=None, timeout=None) Returns a barrier object
BoundedSemaphore(value=1) Returns a bounded semaphore object
Condition(lock=None) Returns a condition object
Event() Returns an event object
JoinableQueue(maxsize=0) Returns a queue object
Lock() Returns a non-recursive lock object
Manager() Returns a manager associated with a running server process The managers methods such as `Lock()`, `Condition()` and `Queue()` can be used to create shared objects.
Pipe(duplex=True) Returns two connection object connected by a pipe
Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None) Returns a process pool object
Queue(maxsize=0) 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=1) Returns a semaphore object
SimpleQueue() Returns a queue object
Value(typecode_or_type, *args, lock=True) 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. If so then run code specified by commandline and exit.
get_all_start_methods()
get_context(method=None)
get_logger() Return package logger -- if it does not already exist then it is created.
get_start_method(allow_none=False)
log_to_stderr(level=None) Turn on logging and add a handler which prints to stderr
parent_process() Return process object representing the parent process
set_executable(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. Useful for people embedding Python.
set_forkserver_preload(module_names) Set list of module names to try to load in forkserver process. This is really just a hint.
set_start_method(method, force=False)
SUBDEBUG = 5
SUBWARNING = 25