cpython/Lib/multiprocessing
albanD 1700d34d31
gh-77377: Ensure multiprocessing SemLock is valid for spawn-based Process before serializing it (#107275)
Ensure multiprocessing SemLock is valid for spawn Process before serializing it.

Creating a multiprocessing SemLock with a fork context, and then trying to pass it to a spawn-created Process, would segfault if not detected early.

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
2023-08-23 20:27:35 +00:00
..
dummy
__init__.py
connection.py gh-61460: Stronger HMAC in multiprocessing (#20380) 2023-05-20 23:33:09 +00: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-106558: break ref cycles through exceptions in multiprocessing manager (#106559) 2023-08-11 17:44:18 +00:00
pool.py Fix typo in exception message in `multiprocessing.pool` (#99900) 2022-11-30 20:57:28 +05:30
popen_fork.py
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) 2022-10-20 14:53:38 +01:00
process.py gh-104536: Improve `multiprocessing.process._cleanup` logic (#104537) 2023-05-22 03:48:57 +00:00
queues.py gh-99509: Add `__class_getitem__` to `multiprocessing.queues.Queue` (#99511) 2022-12-26 20:50:55 -08:00
reduction.py
resource_sharer.py
resource_tracker.py gh-106739: Add `rtype_cache` to `warnings.warn` message when leaked objects found (#106740) 2023-07-25 17:27:36 +00:00
shared_memory.py bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684) 2022-11-25 17:39:48 +00: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-77377: Ensure multiprocessing SemLock is valid for spawn-based Process before serializing it (#107275) 2023-08-23 20:27:35 +00:00
util.py gh-82616: Add process_group support to subprocess.Popen (#23930) 2022-05-05 16:22:32 -07:00