talira

Software transactional memory for Haskell

open sourceBSD-3-Clausefree

stm is Haskell's software transactional memory library, an abstraction for concurrent communication between threads. Its main benefits are composability and modularity: concurrent abstractions built with STM can be combined with any other STM code without exposing how each one keeps itself safe, which locks and MVars don't allow. It's maintained by the Haskell core libraries maintainers and tested with recent GHC releases.

Problems it solves

  • share state safely between threads in Haskell without locks
  • compose concurrent operations in Haskell without deadlocks
  • replace MVars with something that combines cleanly

Features

  • software transactional memory
  • composable concurrent abstractions