dejafu 2.0.0.0 → 2.0.0.1
raw patch · 3 files changed
+15/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.rst +12/−0
- Test/DejaFu/Conc/Internal.hs +1/−1
- dejafu.cabal +2/−2
CHANGELOG.rst view
@@ -6,6 +6,18 @@ .. _PVP: https://pvp.haskell.org/ +2.0.0.1 (2019-03-14)+--------------------++* Git: :tag:`dejafu-2.0.0.1`+* Hackage: :hackage:`dejafu-2.0.0.1`++Fixed+~~~~~++* (:issue:`267`) Throwing an asynchronous exception to the current+ thread interrupts the current thread even if it is masked.+ 2.0.0.0 (2019-02-12) --------------------
Test/DejaFu/Conc/Internal.hs view
@@ -534,7 +534,7 @@ blocked = block (OnMask t) tid cThreads in case M.lookup t cThreads of Just thread- | interruptible thread -> stepThrow (ThrowTo t) t e ctx { cThreads = threads' }+ | interruptible thread || t == tid -> stepThrow (ThrowTo t) t e ctx { cThreads = threads' } | otherwise -> pure ( Succeeded ctx { cThreads = blocked } , BlockedThrowTo t
dejafu.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: dejafu-version: 2.0.0.0+version: 2.0.0.1 synopsis: A library for unit-testing concurrent programs. description:@@ -33,7 +33,7 @@ source-repository this type: git location: https://github.com/barrucadu/dejafu.git- tag: dejafu-2.0.0.0+ tag: dejafu-2.0.0.1 library exposed-modules: Test.DejaFu