PHP 8.2.30
Preview: __init__.py Size: 923 B
/proc/self/root/opt/alt/python35/lib64/python3.5/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
#

globals().update((name, getattr(context._default_context, name))
                 for name in context._default_context.__all__)
__all__ = context._default_context.__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: 20

Name Size Perms Modified Actions
dummy DIR
- drwxr-xr-x 2024-08-13 07:01:37
Edit Download
- drwxr-xr-x 2024-08-13 07:01:37
Edit Download
30.13 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
10.43 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
8.02 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
8.13 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
35.12 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
25.21 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
2.27 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
1.92 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
1.87 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
2.93 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
8.92 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
10.50 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
7.92 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
5.19 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
4.71 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
6.08 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
8.65 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
11.77 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
11.37 KB lrw-r--r-- 2024-05-31 13:51:40
Edit Download
923 B lrw-r--r-- 2024-05-31 13:51:40
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).