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

greenpool: Make sure that imap/starmap set the correct pool #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djipko
Copy link

@djipko djipko commented Mar 23, 2015

Calling a GreenPool.imap() followed by a GreenPool.waitall() does not in fact
wait on the threads that were spawned, this is because we create a
completely new GreanPool instance for the resulting GreenPile result.

We really want to be spawning threads limited by the GreenPool instance
we call the imap() on, so we should be using it for the resulting GreenPile.

Calling a GreenPool.imap() followed by a GreenPool.waitall() does not in fact
wait on the threads that were spawned, this is because we create a
completely new GreanPool instance for the resulting GreenPile result.

We really want to be spawning threads limited by the GreenPool instance
we call the imap() on, so we should be using it for the resulting
GreenPile.
@djipko
Copy link
Author

djipko commented Mar 23, 2015

Hmmm... the CI failures do not seem to be related to my change.

@djipko djipko closed this Oct 13, 2015
@djipko djipko reopened this Oct 13, 2015
@djipko
Copy link
Author

djipko commented Oct 13, 2015

Closed and re-oppened in order to re-kick travis

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

1 participant