PHP 7.4.33
Preview: __init__.py Size: 916 B
/usr/lib/python3.10/multiprocessing/__init__.py
#
# Package analogous to 'threading.py' but using processes
#
# multiprocessing/__init__.py
#
# This package is intended to duplicate the functionality (and much of
# the API) of threading.py but uses processes instead of threads.  A
# subpackage 'multiprocessing.dummy' has the same API but is a simple
# wrapper for 'threading'.
#
# Copyright (c) 2006-2008, R Oudkerk
# Licensed to PSF under a Contributor Agreement.
#

import sys
from . import context

#
# Copy stuff from default context
#

__all__ = [x for x in dir(context._default_context) if not x.startswith('_')]
globals().update((name, getattr(context._default_context, name)) for name in __all__)

#
# XXX These should not really be documented or public.
#

SUBDEBUG = 5
SUBWARNING = 25

#
# Alias for main module -- will be reset by bootstrapping child processes
#

if '__main__' in sys.modules:
    sys.modules['__mp_main__'] = sys.modules['__main__']

Directory Contents

Dirs: 2 × Files: 21
Name Size Perms Modified Actions
dummy DIR
- drwxr-xr-x 2026-03-12 07:02:02
Edit Download
- drwxr-xr-x 2026-03-12 07:02:02
Edit Download
30.94 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
11.33 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
11.86 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
11.35 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
46.39 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
31.99 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
2.32 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
2.18 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
1.98 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
3.92 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
11.81 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
11.74 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
9.29 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
5.01 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
8.76 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
6.16 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
18.03 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
9.08 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
11.34 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
13.70 KB lrw-r--r-- 2026-03-03 11:56:32
Edit Download
916 B lrw-r--r-- 2026-03-03 11:56:32
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).