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

In .Safe module, use async's concurrently, race, and race_ #20

Closed
wants to merge 1 commit into from

Commits on May 18, 2016

  1. In .Safe module, use async's concurrently, race, and race_

    The upstream versions of the functions are more efficient, being
    implemented via MVars and not leveraging the full Async machinery. In
    addition to getting a performance boost from this change, we also
    guarantee that, in the case of deadlocks, the exceptions generated from
    the .Safe module match those generated by Control.Concurrent.Async.
    
    Note that this change does not make sense for the unsafe module in this
    package.
    snoyberg committed May 18, 2016
    Configuration menu
    Copy the full SHA
    c760419 View commit details
    Browse the repository at this point in the history