You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b833fd6
Browse filesBrowse the repository at this point in the historyBrowse files
address review: fix deadlock between HEAD_LOCK and brc bucket mutex
bind_tstate() held HEAD_LOCK while _Py_brc_init_thread() acquired a
biased reference counting bucket mutex. That mutex can be handed off to
a thread which is then suspended by a stop-the-world pause before it
re-attaches, while stopping and starting the world need HEAD_LOCK.
Initialize the brc state after the thread state is published and
HEAD_LOCK is released.
0 commit comments