multiprocessing — 像管理线程一样管理进程

优质
小牛编辑
140浏览
2023-12-01

用途: 提供一个管理进程的接口

  • multiprocessing Basics
  • Importable Target Functions
  • Determining the Current Process
  • Daemon Processes
  • Waiting for Processes
  • Terminating Processes
  • Process Exit Status
  • Logging
  • Subclassing Process
  • Passing Messages to Processes
  • Signaling between Processes
  • Controlling Access to Resources
  • Synchronizing Operations
  • Controlling Concurrent Access to Resources
  • Managing Shared State
  • Shared Namespaces
  • Process Pools
  • Implementing MapReduce