[3.11] gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128) (#113178)
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
220fae770642141d91ca6299afd775493979c54b
Parent: 6ff7c13
Committed by GitHub <noreply@github.com>
on 12/15/2023, 3:20:18 PM