packages feed

thread-utils-context 0.3.0.2 → 0.3.0.3

raw patch · 3 files changed

+7/−3 lines, 3 files

Files

ChangeLog.md view
@@ -1,3 +1,7 @@ # Changelog for thread-utils-context +## 0.3.0.3++- Fix compilation of purgeDeadThreads on GHC 9.6+ ## Unreleased changes
src/Control/Concurrent/Thread/Storage.hs view
@@ -218,7 +218,7 @@ purgeDeadThreads :: MonadIO m => ThreadStorageMap a -> m () purgeDeadThreads tsm = liftIO $ do   tids <- listThreads-  let threadSet = IS.fromList $ map getThreadId tids+  let threadSet = IS.fromList $ map (fromIntegral . getThreadId) tids   forM_ [0..(numStripes - 1)] $ \stripe ->     atomicModifyStripe tsm stripe $ \im -> (I.restrictKeys im threadSet, ()) #endif
thread-utils-context.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           thread-utils-context-version:        0.3.0.2+version:        0.3.0.3 synopsis:       Garbage-collected thread local storage description:    Please see the README on GitHub at <https://github.com/iand675/thread-utils-context#readme> category:       Concurrency@@ -13,7 +13,7 @@ bug-reports:    https://github.com/iand675/thread-utils/issues author:         Ian Duncan maintainer:     ian@iankduncan.com-copyright:      2021 Ian Duncan+copyright:      2023 Ian Duncan license:        BSD3 license-file:   LICENSE build-type:     Simple