stm

Software Transactional Memory

Version on this page:2.4.4.1@rev:1
LTS Haskell 17.10:2.5.0.0
Stackage Nightly 2021-05-07:2.5.0.0
Latest on Hackage:2.5.0.0@rev:1

See all snapshots stm appears in

BSD-3-Clause licensed
Maintained by libraries@haskell.org
This version can be pinned in stack with:stm-2.4.4.1@sha256:49cfd80cba95f84d42eda0045346c8a567df5ce434d4da3d26ac3e977826fc4f,1563

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