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

Added multiprocessing #57

Merged
merged 3 commits into from Oct 18, 2016
Merged

Added multiprocessing #57

merged 3 commits into from Oct 18, 2016

Conversation

channelcat
Copy link
Contributor

No description provided.

from inspect import isawaitable
from multiprocessing import Process, Event
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the multiprocess function should not contain in the program, just let user to decide use multi process or not

from inspect import isawaitable
from multiprocessing import Process, Event
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the multiprocess function should not contain in the program, just let user to decide use multi process or not

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If run is executed with 1 worker, it won't use multiprocessing. Should we not import it by default? I thought it would be okay since it's part of the standard library.

@channelcat channelcat merged commit a904a57 into master Oct 18, 2016
@channelcat channelcat deleted the multiprocessing branch October 18, 2016 09:17
This was referenced Oct 18, 2016
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.

None yet

2 participants