Have to reset more state in PyEval_ReInitThreads
We were having problems with spawning subprocesses from threads, since the children would inherit the "wait for another thread to acquire the gil" flag, but would not inherit the thread that would actually try to acquire the gil; this would make the child hang.
Showing
test/tests/thread_forking.py
0 → 100644
Please register or sign in to comment