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

gh-104341: Fix threading Module Shutdown #104560

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Silence some warnings.
  • Loading branch information
ericsnowcurrently committed May 16, 2023
commit bd3accd4a3f1d3f4586afcbd9c23fb48c5d27df3
4 changes: 2 additions & 2 deletions Modules/_threadmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1887,10 +1887,10 @@ static PyMethodDef thread_methods[] = {
METH_NOARGS, _set_sentinel_doc},
{"_excepthook", thread_excepthook,
METH_O, excepthook_doc},
{"_wait_for_threads_fini", thread__wait_for_threads_fini,
{"_wait_for_threads_fini", (PyCFunction)thread__wait_for_threads_fini,
METH_NOARGS, NULL},
#ifdef HAVE_FORK
{"_after_fork", thread__after_fork,
{"_after_fork", (PyCFunction)thread__after_fork,
METH_NOARGS, NULL},
#endif
{NULL, NULL} /* sentinel */
Expand Down