On this page
  1. multiprocessing.get_all_start_methods
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

multiprocessing.get_all_start_methods

Prev: multiprocessing.freeze_support | Up: multiprocessing | Next: multiprocessing.get_context
Rel: multiprocessing.active_children, multiprocessing.allow_connection_pickling, multiprocessing.Array, multiprocessing.AuthenticationError
Ref: docs.python.org — multiprocessing.get_all_start_methods
Tags: #public #python3 #stdlib #multiprocessing


Import

import multiprocessing
from multiprocessing import get_all_start_methods

Signature & Overview

multiprocessing.get_all_start_methods()

Returns a list of the supported start methods, default first.

Usage

import multiprocessing as mp

methods = mp.get_all_start_methods()
assert "spawn" in methods

Gotchas

REPL Inspect

from multiprocessing import get_all_start_methods
help(get_all_start_methods)

Linked from

Related notes