Python logo

Table of Contents

  • multiprocessing — Process-based parallelism
    • Introduction
      • The Process class
      • Contexts and start methods
      • Exchanging objects between processes
      • Synchronization between processes
      • Sharing state between processes
      • Using a pool of workers
    • Reference
      • Global start method
      • Process and exceptions
      • Pipes and Queues
      • Miscellaneous
      • Connection Objects
      • Synchronization primitives
      • Shared ctypes Objects
        • The multiprocessing.sharedctypes module
      • Managers
        • Customized managers
        • Using a remote manager
      • Proxy Objects
        • Cleanup
      • Process Pools
      • Listeners and Clients
        • Address Formats
      • Authentication keys
      • Logging
      • The multiprocessing.dummy module
    • Programming guidelines
      • All start methods
      • The spawn and forkserver start methods
    • Examples

Previous topic

threading — Thread-based parallelism

Next topic

multiprocessing.shared_memory — Shared memory for direct access across processes