issue #155: don't inherit TLS state in mitogen.fork
This is a partial fix to a general problem: deciding which bits of state to keep from the parent, and which to clear out. When forking from a heavily threaded process, there will be 2x$n_threads fds just sitting around doing nothing, due to Latch use in the parent. We can't just close all nonstandard fds post-fork, since user code may be expecting some FDs to be preserved.pull/167/head
parent
67e0a4fe59
commit
f6c24ab615
Loading…
Reference in New Issue