Uh oh!
There was an error while loading. Please reload this page.
gh-128002: fix many thread safety issues in asyncio - #128147
Conversation
@colesbury While running the tests locally on forever mode I see frequent tsan warnings and rarely some crashes in |
colesbury
left a comment
There was a problem hiding this comment.
I'm still reading through the other locking changes, but a comment on all_tasks below:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kumaraditya303
commented
Jan 2, 2025
Filed #128421 for existing data races in traceback and frame inspection. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
colesbury
left a comment
There was a problem hiding this comment.
LGTM with two comments below
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Changes:
_asyncio.Taskand_asyncio.Futurethread-safe by adding critical sections_asyncio.all_tasksthread safe when eager tasks are usedChange asyncio state lock to a mutex rather than critical section to fix re-entrancy crash, not really sure about this one