cpython/Lib/multiprocessing
Miss Islington (bot) 8c92d64ede
[3.12] gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128) (#113177)
gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128)

On Windows, Process.terminate() no longer sets the returncode
attribute to always call WaitForSingleObject() in Process.wait().
Previously, sometimes the process was still running after
TerminateProcess() even if GetExitCodeProcess() is not STILL_ACTIVE.
(cherry picked from commit 4026ad5b2c)

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-12-15 15:21:02 +00:00
..
dummy bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
__init__.py Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
connection.py [3.12] gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH-109780) (GH-111934) 2023-11-10 07:17:02 +00:00
context.py gh-84559: Remove the new multiprocessing warning, too disruptive. (#101551) 2023-02-03 15:20:46 -08:00
forkserver.py [3.12] gh-107963: Fix set_forkserver_preload to check the type of given list (GH-107965) (#107975) 2023-08-15 16:56:53 +02:00
heap.py bpo-32759: Free unused arenas in multiprocessing.heap (GH-5827) 2018-04-09 17:37:55 +02:00
managers.py gh-97816: Remove unused variables in mutliprocessing.managers.Server (#97817) 2022-10-03 22:29:17 -07:00
pool.py Fix typo in exception message in multiprocessing.pool (#99900) 2022-11-30 20:57:28 +05:30
popen_fork.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
popen_forkserver.py bpo-36888: Add multiprocessing.parent_process() (GH-13247) 2019-05-20 21:37:05 +02:00
popen_spawn_posix.py bpo-36888: Add multiprocessing.parent_process() (GH-13247) 2019-05-20 21:37:05 +02:00
popen_spawn_win32.py [3.12] gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128) (#113177) 2023-12-15 15:21:02 +00:00
process.py gh-104536: Improve multiprocessing.process._cleanup logic (#104537) 2023-05-22 03:48:57 +00:00
queues.py [3.12] gh-109047: concurrent.futures catches RuntimeError (#109810) (#110126) 2023-10-02 17:47:10 +02:00
reduction.py bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) 2018-09-28 02:51:05 -07:00
resource_sharer.py bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19511) 2020-04-15 01:35:36 +09:00
resource_tracker.py [3.12] gh-109593: Fix reentrancy issue in multiprocessing resource_tracker (GH-109629) (#109898) 2023-10-02 17:37:40 +02: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 [3.12] More actionable error message when spawn is incorrectly used. (GH-102203) (#107990) 2023-08-16 14:22:22 +02:00
synchronize.py [3.12] gh-108520: Fix bad fork detection in nested multiprocessing use case (GH-108568) (#108691) 2023-08-30 23:18:49 +02:00
util.py [3.12] gh-79429: Ignore FileNotFoundError when remove a temporary directory in the multiprocessing finalizer (GH-112865) 2023-12-09 15:13:40 +02:00