Skip to content

bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor#4241

Merged
pitrou merged 2 commits intopython:masterfrom
pitrou:cf_initializer
Nov 4, 2017
Merged

bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor#4241
pitrou merged 2 commits intopython:masterfrom
pitrou:cf_initializer

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Nov 2, 2017

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Nov 2, 2017

@tomMoral, @ogrisel, you might be interested in this.

@tomMoral
Copy link
Copy Markdown
Contributor

tomMoral commented Nov 3, 2017

LGTM.
It is definitely a useful feature. We could probably use it to pass global Event for better sync in the test for concurrent.futures, in order to accelerate them.

@pitrou pitrou merged commit 63ff413 into python:master Nov 4, 2017
@pitrou pitrou deleted the cf_initializer branch November 4, 2017 10:05
embray pushed a commit to embray/cpython that referenced this pull request Nov 9, 2017
python#4241)

* bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor

* Fix docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants