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
@colesbury@erlend-aasland
Hmm, Do we need something like per signal API lock for the interpreter-wide that acquires lock when we need to call PyOS_setsig at any moment?
For example, if any thread needs to call PyOS_setsig or PyOS_getsig, is it required to acquire the specific interpreter-wise lock?
posixmodule
ignores signals inos_openpty_impl
andos_grantpt_impl
by wrapping them in two PyOS_setsig calls:This relies on the GIL being held, so it probably needs a dedicated lock in free-threading builds.
Linked PRs
The text was updated successfully, but these errors were encountered: