Commit cbfaf41
authored
Fix needless spinning in
The free threading build could spin unnecessarily on `_Py_yield()` if the initial
compare and swap failed._PyMutex_LockTimed with zero timeout (pythongh-135872)1 parent a88b49c commit cbfaf41
2 files changed
Lines changed: 3 additions & 1 deletion
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Python
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments