From f97b0277c01b51a703169dcd0caf3d231f9ce9cf Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel <hvr@gnu.org> Date: Sat, 3 Feb 2018 21:35:46 +0100 Subject: [PATCH] Fill in 2.4.5 for TBD placeholers --- Control/Concurrent/STM/TBQueue.hs | 2 +- Control/Concurrent/STM/TQueue.hs | 2 +- Control/Concurrent/STM/TSem.hs | 2 +- changelog.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Control/Concurrent/STM/TBQueue.hs b/Control/Concurrent/STM/TBQueue.hs index aae2699..79ffc43 100644 --- a/Control/Concurrent/STM/TBQueue.hs +++ b/Control/Concurrent/STM/TBQueue.hs @@ -141,7 +141,7 @@ tryReadTBQueue c = fmap Just (readTBQueue c) `orElse` return Nothing -- | Efficiently read the entire contents of a 'TBQueue' into a list. This -- function never retries. -- --- @since TBD +-- @since 2.4.5 flushTBQueue :: TBQueue a -> STM [a] flushTBQueue (TBQueue rsize read wsize write) = do xs <- readTVar read diff --git a/Control/Concurrent/STM/TQueue.hs b/Control/Concurrent/STM/TQueue.hs index 3930eef..b49e310 100644 --- a/Control/Concurrent/STM/TQueue.hs +++ b/Control/Concurrent/STM/TQueue.hs @@ -110,7 +110,7 @@ tryReadTQueue c = fmap Just (readTQueue c) `orElse` return Nothing -- | Efficiently read the entire contents of a 'TQueue' into a list. This -- function never retries. -- --- @since TBD +-- @since 2.4.5 flushTQueue :: TQueue a -> STM [a] flushTQueue (TQueue read write) = do xs <- readTVar read diff --git a/Control/Concurrent/STM/TSem.hs b/Control/Concurrent/STM/TSem.hs index 234d945..0f78093 100644 --- a/Control/Concurrent/STM/TSem.hs +++ b/Control/Concurrent/STM/TSem.hs @@ -98,7 +98,7 @@ signalTSem (TSem t) = do -- -- > signalTSem == signalTSemN 1 -- --- @since TBD +-- @since 2.4.5 signalTSemN :: Word.Word -> TSem -> STM () signalTSemN 0 _ = return () signalTSemN 1 s = signalTSem s diff --git a/changelog.md b/changelog.md index 9ed0124..ec2a6a5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Changelog for [`stm` package](http://hackage.haskell.org/package/stm) -## TBD +## 2.4.5.0 *Feb 2018* * Fix space leak in `TBQueue` (gh-2, GHC#14494) @@ -12,7 +12,7 @@ * Add `flushTBQueue` to `Control.Concurrent.STM.TBQueue` (gh-1) - * Add `signalTSemN` operations (gh-5) + * Add `signalTSemN` operation (gh-5) ## 2.4.4.1 *Dec 2015* -- GitLab