cpython/Lib/multiprocessing
pan324 81ee026091
gh-82300: Add track parameter to multiprocessing.shared_memory (#110778)
Add a track parameter to shared memory to allow resource tracking via the side-launched resource tracker process to be disabled on platforms that use it (POSIX).

This allows people who do not want automated cleanup at process exit because they are using the shared memory with processes not participating in Python's resource tracking to use the shared_memory API.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-12-05 00:11:44 -08:00
..
dummy
__init__.py
connection.py gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH-109780) 2023-09-26 10:06:07 +03:00
context.py gh-84559: Remove the new multiprocessing warning, too disruptive. (#101551) 2023-02-03 15:20:46 -08:00
forkserver.py gh-107963: Fix set_forkserver_preload to check the type of given list (#107965) 2023-08-15 15:58:12 +02:00
heap.py
managers.py gh-107431: Make `multiprocessing.managers.{DictProxy,ListProxy}` generic (#107433) 2023-11-10 23:23:27 +00:00
pool.py gh-109649: Use os.process_cpu_count() (#110165) 2023-10-01 03:14:57 +02:00
popen_fork.py
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py gh-110036: multiprocessing Popen.terminate() catches PermissionError (#110037) 2023-09-29 02:41:12 +02:00
process.py gh-104536: Improve `multiprocessing.process._cleanup` logic (#104537) 2023-05-22 03:48:57 +00:00
queues.py gh-109047: concurrent.futures catches PythonFinalizationError (#109810) 2023-09-29 19:31:19 +00:00
reduction.py
resource_sharer.py
resource_tracker.py gh-109593: Fix reentrancy issue in multiprocessing resource_tracker (#109629) 2023-09-26 13:57:25 +02:00
shared_memory.py gh-82300: Add track parameter to multiprocessing.shared_memory (#110778) 2023-12-05 00:11:44 -08:00
sharedctypes.py
spawn.py More actionable error message when spawn is incorrectly used. (#102203) 2023-08-15 18:03:45 -07:00
synchronize.py gh-108520: Fix bad fork detection in nested multiprocessing use case (#108568) 2023-08-30 17:07:41 +00:00
util.py gh-109461: Update logging module lock to use context manager (#109462) 2023-09-27 18:26:41 +02:00