Commit 91fe49a
pythongh-89240: Enable multiprocessing on Windows to use large process pools (pythonGH-107873)
We add _winapi.BatchedWaitForMultipleObjects to wait for larger numbers of handles.
This is an internal module, hence undocumented, and should be used with caution.
Check the docstring for info before using BatchedWaitForMultipleObjects.1 parent 571e83b commit 91fe49a
12 files changed
Lines changed: 1195 additions & 6 deletions
File tree
- Include/internal
- Lib
- multiprocessing
- test
- Misc/NEWS.d/next/Windows
- Modules
- clinic
- Objects
- PC
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
| |||
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| 466 | + | |
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| |||
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
| 484 | + | |
482 | 485 | | |
483 | 486 | | |
484 | 487 | | |
| 488 | + | |
| 489 | + | |
485 | 490 | | |
486 | 491 | | |
487 | 492 | | |
| |||
537 | 542 | | |
538 | 543 | | |
539 | 544 | | |
| 545 | + | |
540 | 546 | | |
541 | 547 | | |
542 | 548 | | |
| |||
553 | 559 | | |
554 | 560 | | |
555 | 561 | | |
| 562 | + | |
556 | 563 | | |
557 | 564 | | |
558 | 565 | | |
| |||
562 | 569 | | |
563 | 570 | | |
564 | 571 | | |
| 572 | + | |
565 | 573 | | |
566 | 574 | | |
567 | 575 | | |
| |||
665 | 673 | | |
666 | 674 | | |
667 | 675 | | |
| 676 | + | |
668 | 677 | | |
669 | 678 | | |
670 | 679 | | |
| |||
752 | 761 | | |
753 | 762 | | |
754 | 763 | | |
| 764 | + | |
755 | 765 | | |
756 | 766 | | |
757 | 767 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1014 | 1025 | | |
1015 | | - | |
| 1026 | + | |
| 1027 | + | |
1016 | 1028 | | |
1017 | 1029 | | |
1018 | 1030 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6113 | 6113 | | |
6114 | 6114 | | |
6115 | 6115 | | |
| 6116 | + | |
| 6117 | + | |
| 6118 | + | |
| 6119 | + | |
| 6120 | + | |
| 6121 | + | |
| 6122 | + | |
| 6123 | + | |
| 6124 | + | |
| 6125 | + | |
| 6126 | + | |
| 6127 | + | |
| 6128 | + | |
| 6129 | + | |
| 6130 | + | |
| 6131 | + | |
| 6132 | + | |
| 6133 | + | |
6116 | 6134 | | |
6117 | 6135 | | |
6118 | 6136 | | |
| |||
0 commit comments