[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 4026ad5b2c595b855a3605420cfa0e3d49e63db7) Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
8c92d64ede33085f2fe5fcd734c0736a00b89b15
Parent: ded4307
Committed by GitHub <noreply@github.com>
on 12/15/2023, 3:21:02 PM