forked from haskell/haskell-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the abortion mechanism with async (haskell/ghcide#353)
* Extract a minimal Abortable abstraction from shakeRun * Add an Abortable implementation with Async * Switch to async implementation Off-sourcing the details of aborting computations to a mature library * Inline the async implementation Abortable is nothing but a thin wrapper for 'Async' * Call logDebug out of the withMVar lock * Simplify withMVar'
- Loading branch information
1 parent
a84babb
commit 24397a7
Showing
1 changed file
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters