multiprocessing.process.BaseProcess - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on class BaseProcess in multiprocessing.process:

multiprocessing.process.BaseProcess = class BaseProcess(builtins.object)
 |  multiprocessing.process.BaseProcess(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None)
 |
 |  Process objects represent activity that is run in a separate process
 |
 |  The class is analogous to `threading.Thread`
 |
 |  Methods defined here:
 |
 |  __init__(self, group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  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()
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  exitcode
 |      Return exit code of process or `None` if it has yet to stop
 |
 |  ident
 |      Return identifier (PID) of process or `None` if it has yet to start
 |
 |  pid
 |      Return identifier (PID) of process or `None` if it has yet to start
 |
 |  sentinel
 |      Return a file descriptor (Unix) or handle (Windows) suitable for
 |      waiting for process termination.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables (if defined)
 |
 |  __weakref__
 |      list of weak references to the object (if defined)
 |
 |  authkey
 |
 |  daemon
 |      Return whether process is a daemon
 |
 |  name


Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 06:18 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!