Commit 4ff9834
committed
gh-145587: fix busy loop in multiprocessing.connection.wait on Windows
Ensure wait() blocks for the specified timeout when object_list is empty, preventing 100% CPU usage. This aligns the Windows behavior with the Unix implementation.1 parent c3fb0d9 commit 4ff9834
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1088 | 1096 | | |
1089 | 1097 | | |
1090 | 1098 | | |
| |||
0 commit comments