| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
relevant |
Sorry, something went wrong.
|
This PR is stale because it has been open for 90 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This fixes issue #86354 that a child process does not reuse the forkserver process started by its parent. Currently, each child process creates its own forkserver for its own child processes:
With this patch, all the descendants reuse the forkserver spawned by the main process, reducing the overhead when the process tree is deep:
The new behavior matches the comment in forkserver.py:
cpython/Lib/multiprocessing/forkserver.py
Lines 123 to 129 in fd7dac0