From 1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Wed, 12 Oct 2011 21:07:54 +0200 Subject: 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). --- Modules/signalmodule.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Modules/signalmodule.c') diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 6f021e72e0..f306bba16f 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(); -- cgit v1.2.1