diff --git a/Control/Concurrent/STM/TBQueue.hs b/Control/Concurrent/STM/TBQueue.hs index aae2699c08d01b85fb7c3402eaad2bde33cdbc27..79ffc438e56dc76655b0e5050a06ca7b5cae4320 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 3930eef311761c6ea0d84d6a25c733b03beeb21c..b49e3101ca0de4c3b46453094b03681b3d3f17bd 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 234d945eb413b8e88f968f8ecd5c3cdac46102cb..0f78093d6589987bdbb699e12c0276e8ab795e81 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 9ed012441f5ef1785ea97bab1e78df3232d955c2..ec2a6a56c0e5add010ff5cbb3b7b5c783d5826e7 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*