Skip to content

PyOS_AfterFork_Child() uses PyStatus #20596

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

Merged
merged 1 commit into from
Jun 2, 2020
Merged

PyOS_AfterFork_Child() uses PyStatus #20596

merged 1 commit into from
Jun 2, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 2, 2020

PyOS_AfterFork_Child() helper functions now return a PyStatus:
PyOS_AfterFork_Child() is now responsible to handle errors.

  • Move _PySignal_AfterFork() to the internal C API
  • Add #ifdef HAVE_FORK on _PyGILState_Reinit(), _PySignal_AfterFork()
    and _PyInterpreterState_DeleteExceptMain().

PyOS_AfterFork_Child() helper functions now return a PyStatus:
PyOS_AfterFork_Child() is now responsible to handle errors.

* Move _PySignal_AfterFork() to the internal C API
* Add #ifdef HAVE_FORK on _PyGILState_Reinit(), _PySignal_AfterFork()
  and _PyInterpreterState_DeleteExceptMain().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants