commit | 114f7e5ffff86daef0a9e9802317e7b259c447f9 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri Jun 13 00:09:47 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Fri Jun 13 00:09:47 2008 +0000 |
tree | e8ccddec529ca7299c3bbe37e21df40f572696cc | |
parent | 26305a03e3d501f9338af3f1373f8ec7da88838f [diff] [blame] |
#1683 prevent forking from interfering in threading storage This should prevent some test_multiprocessing failures
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index d07258a..e297240 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c
@@ -925,5 +925,6 @@ main_thread = PyThread_get_thread_ident(); main_pid = getpid(); _PyImport_ReInitLock(); + PyThread_ReInitTLS(); #endif }