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

Commits on Mar 23, 2015

  1. greenpool: Make sure that imap/starmap set the correct pool

    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 committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    2acf185 View commit details
    Browse the repository at this point in the history