There was an error while loading. Please reload this page.
1 parent 1414d2a commit c8ea867Copy full SHA for c8ea867
1 file changed
Lib/concurrent/futures/process.py
@@ -119,10 +119,11 @@ def _python_exit():
119
120
121
# On Windows, WaitForMultipleObjects is used to wait for processes to finish.
122
-# It can wait on, at most, 63 objects. There is an overhead of two objects:
+# It can wait on, at most, 64 objects. There is an overhead of three objects:
123
# - the result queue reader
124
# - the thread wakeup reader
125
-_MAX_WINDOWS_WORKERS = 63 - 2
+# - the SIGINT handler
126
+_MAX_WINDOWS_WORKERS = 64 - 3
127
128
# Hack to embed stringification of remote traceback in local traceback
129
0 commit comments