Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add easy-to-use factories for the TraitsExecutor #290

Open
mdickinson opened this issue Mar 29, 2021 · 2 comments
Open

Add easy-to-use factories for the TraitsExecutor #290

mdickinson opened this issue Mar 29, 2021 · 2 comments
Labels
type: enhancement New feature or request

Comments

@mdickinson
Copy link
Member

Creating a TraitsExecutor for use in multiprocessing (for example) isn't as easy or as natural as I'd like it to be. Investigate adding factory functions to help with both creation and cleanup of executors.

@mdickinson mdickinson added the type: enhancement New feature or request label Mar 29, 2021
@mdickinson mdickinson added this to the Release 0.3.0 milestone Mar 29, 2021
@mdickinson
Copy link
Member Author

Related issue to do with executor creation: if we pass in a concurrent.futures process pool to the TraitsExecutor, it should automatically use the multiprocessing context rather than the multithreading context.

@mdickinson
Copy link
Member Author

Pushing this for now; not a target for this release.

@mdickinson mdickinson removed this from the Release 0.3.0 milestone Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant