stm

Software Transactional Memory

Version on this page:2.4.4.1
LTS Haskell 22.41:2.5.1.0
Stackage Nightly 2024-11-12:2.5.3.1
Latest on Hackage:2.5.3.1

See all snapshots stm appears in

BSD-3-Clause licensed
Maintained by [email protected]
This version can be pinned in stack with:stm-2.4.4.1@sha256:d472f408cf790bcccf81a97b53c429dbfefaa4ffbde48a9588e52520f0568dac,1495

A modular composable concurrency abstraction.

Changes

Changelog for stm package

2.4.4.1 Dec 2015

  • Add support for base-4.9.0.0

  • Drop support for GHC 6.12 / base-4.2

2.4.4 Dec 2014

  • Add support for base-4.8.0.0

  • Tighten Safe Haskell bounds

  • Add mkWeakTMVar to Control.Concurrent.STM.TMVar

  • Add @since-annotations

2.4.3 Mar 2014

  • Update behaviour of newBroadcastTChanIO to match newBroadcastTChan in causing an error on a read from the broadcast channel

  • Add mkWeakTVar

  • Add isFullTBQueue

  • Fix TChan created via newBroadcastTChanIO to throw same exception on a readTChan as when created via newBroadcastTChan

  • Update to Cabal 1.10 format

2.4.2 Nov 2012

  • Add Control.Concurrent.STM.TSem (transactional semaphore)

  • Add Applicative/Alternative instances of STM for GHC <7.0

  • Throw proper exception when readTChan called on a broadcast TChan

2.4 Jul 2012

  • Add Control.Concurrent.STM.TQueue (a faster TChan)

  • Add Control.Concurrent.STM.TBQueue (a bounded channel based on TQueue)

  • Add Eq instance for TChan

  • Add newBroadcastTChan and newBroadcastTChanIO

  • Some performance improvements for TChan

  • Add cloneTChan