Repository navigation
Commit b041c7d
committed
gh-162087: Record the first mutex instead of unlocking it early
As suggested in review: when the world is stopped and the inline fast path
has already locked m1, record m1 in the critical section, so that
_PyCriticalSection2_End() unlocks it, instead of unlocking it in
_PyCriticalSection2_BeginSlow().1 parent 9e7f901 commit b041c7d
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
0 commit comments