# # 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__']
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
dummy | Folder | 0755 |
|
|
__init__.py | File | 923 B | 0644 |
|
connection.py | File | 30.33 KB | 0644 |
|
context.py | File | 10.66 KB | 0644 |
|
forkserver.py | File | 8.49 KB | 0644 |
|
heap.py | File | 8.12 KB | 0644 |
|
managers.py | File | 37.26 KB | 0644 |
|
pool.py | File | 25.45 KB | 0644 |
|
popen_fork.py | File | 2.25 KB | 0644 |
|
popen_forkserver.py | File | 1.91 KB | 0644 |
|
popen_spawn_posix.py | File | 1.86 KB | 0644 |
|
popen_spawn_win32.py | File | 2.93 KB | 0644 |
|
process.py | File | 9 KB | 0644 |
|
queues.py | File | 10.51 KB | 0644 |
|
reduction.py | File | 9.01 KB | 0644 |
|
resource_sharer.py | File | 5.2 KB | 0644 |
|
semaphore_tracker.py | File | 5.27 KB | 0644 |
|
sharedctypes.py | File | 6.1 KB | 0644 |
|
spawn.py | File | 8.66 KB | 0644 |
|
synchronize.py | File | 11.77 KB | 0644 |
|
util.py | File | 11.61 KB | 0644 |
|