Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-39984: trip_signal() uses PyGILState_GetThisThreadState() #19061

Merged
merged 1 commit into from
Mar 18, 2020
Merged

bpo-39984: trip_signal() uses PyGILState_GetThisThreadState() #19061

merged 1 commit into from
Mar 18, 2020

Commits on Mar 18, 2020

  1. bpo-39984: trip_signal() uses PyGILState_GetThisThreadState()

    bpo-37127, bpo-39984:
    
    * trip_signal() and Py_AddPendingCall() now get the current Python
      thread state using PyGILState_GetThisThreadState() rather than
      _PyRuntimeState_GetThreadState() to be able to get it even if the
      GIL is released.
    * _PyEval_SignalReceived() now expects tstate rather than ceval.
    * Remove ceval parameter of _PyEval_AddPendingCall(): ceval is now
      get from tstate parameter.
    vstinner committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    6c7c04d View commit details
    Browse the repository at this point in the history