Closed snoyberg closed 8 years ago
Forgot to ping @feuerbach
Made the fixes and some other optimizations: https://github.com/maoe/lifted-async/tree/snoyberg/develop
Very nice!
On Sun, May 22, 2016 at 5:44 AM, Mitsutoshi Aoe notifications@github.com wrote:
Made the fixes and some other optimizations: https://github.com/maoe/lifted-async/tree/snoyberg/develop
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/maoe/lifted-async/pull/20#issuecomment-220811251
Thanks for the contribution! I merged this commit into develop. GitHub doesn't seem to think this PR has been merged for some reason, so I'm closing this manually. I'll release a new version on Hackage shortly.
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.