summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-10-12 19:07:54 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-10-12 19:07:54 (GMT)
commit1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43 (patch)
tree938636c04083f9be5d9df818283975d90b574098 /Modules/signalmodule.c
parent4394e0db24f38250d487adcbd8b85f314cb86829 (diff)
downloadcpython-1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43.zip
cpython-1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43.tar.gz
cpython-1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43.tar.bz2
Issue #13156: revert changeset f6feed6ec3f9, which was only relevant for native
TLS implementations, and fails with the ad-hoc TLS implementation when a thread doesn't have an auto thread state (e.g. a thread created outside of Python calling into a subinterpreter).
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 6f021e7..f306bba 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -976,7 +976,6 @@ void
PyOS_AfterFork(void)
{
#ifdef WITH_THREAD
- _PyGILState_Reinit();
PyEval_ReInitThreads();
main_thread = PyThread_get_thread_ident();
main_pid = getpid();