Commit f183996
authored
In free-threading, multiple threads can be cleared concurrently as such the modifications on `sys_tracing_threads` should be done while holding the profile lock, otherwise it can race with other threads setting up profiling.
1 parent 3224429 commit f183996
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1682 | 1682 | | |
1683 | 1683 | | |
1684 | 1684 | | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
1685 | 1689 | | |
1686 | 1690 | | |
1687 | 1691 | | |
| |||
1690 | 1694 | | |
1691 | 1695 | | |
1692 | 1696 | | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
1693 | 1702 | | |
1694 | 1703 | | |
1695 | 1704 | | |
| |||
0 commit comments