Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/lib64/python3.8/multiprocessing/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python3.8/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__']
Name
Size
Permissions
Options
__pycache__
--
drwxr-xr-x
dummy
--
drwxr-xr-x
__init__.py
0.895 KB
-rw-r--r--
connection.py
31.109 KB
-rw-r--r--
context.py
10.993 KB
-rw-r--r--
forkserver.py
12.237 KB
-rw-r--r--
heap.py
11.354 KB
-rw-r--r--
managers.py
47.771 KB
-rw-r--r--
pool.py
31.747 KB
-rw-r--r--
popen_fork.py
2.508 KB
-rw-r--r--
popen_forkserver.py
2.178 KB
-rw-r--r--
popen_spawn_posix.py
1.981 KB
-rw-r--r--
popen_spawn_win32.py
3.917 KB
-rw-r--r--
process.py
11.724 KB
-rw-r--r--
queues.py
11.416 KB
-rw-r--r--
reduction.py
9.289 KB
-rw-r--r--
resource_sharer.py
5.227 KB
-rw-r--r--
resource_tracker.py
8.411 KB
-rw-r--r--
shared_memory.py
17.014 KB
-rw-r--r--
sharedctypes.py
6.158 KB
-rw-r--r--
spawn.py
9.078 KB
-rw-r--r--
synchronize.py
11.338 KB
-rw-r--r--
util.py
13.623 KB
-rw-r--r--