extra 0.6 → 0.7
raw patch · 3 files changed
+4/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.txt +2/−0
- extra.cabal +1/−1
- src/Control/Concurrent/Extra.hs +1/−0
CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for Extra +0.7+ Fix for missing case in withNumCapabilities 0.6 Ensure barrier is thread-safe Make subsequent signalBarrier calls throw an exception
extra.cabal view
@@ -1,7 +1,7 @@ cabal-version: >= 1.10 build-type: Simple name: extra-version: 0.6+version: 0.7 license: BSD3 license-file: LICENSE category: Development
src/Control/Concurrent/Extra.hs view
@@ -37,6 +37,7 @@ old <- getNumCapabilities if old == new then act else bracket_ (setNumCapabilities new) (setNumCapabilities old) act+withNumCapabilities _ act = act #if __GLASGOW_HASKELL__ < 702