FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) by miss-islington · Pull Request #92495 · python/cpython · GitHub

/ cpython Public

[3.11] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) - #92495

Merged
gpshead merged 1 commit into
python:3.11from
miss-islington:backport-ebb37fc-3.11
May 8, 2022
Merged

[3.11] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598)#92495
gpshead merged 1 commit into
python:3.11from
miss-islington:backport-ebb37fc-3.11

Conversation

miss-islington commented May 8, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Do not spawn ProcessPool workers on demand when they spawn via fork.

This avoids potential deadlocks in the child processes due to forking from
a multithreaded process.
(cherry picked from commit ebb37fc)

Co-authored-by: Gregory P. Smith greg@krypto.org

Automerge-Triggered-By: GH:gpshead

…ethod. (pythonGH-91598)

Do not spawn ProcessPool workers on demand when they spawn via fork.

This avoids potential deadlocks in the child processes due to forking from
a multithreaded process.
(cherry picked from commit ebb37fc)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting review labels May 8, 2022
gpshead self-assigned this May 8, 2022
gpshead merged commit 4270b79 into python:3.11 May 8, 2022
miss-islington deleted the backport-ebb37fc-3.11 branch May 8, 2022 17:14

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

concurrent.futures.ProcessPoolExecutor can deadlock when tcmalloc is used

3 participants


Back | FazBrowse Home | New Git URL