HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

Software transactional memory

Categories: Language

Contents

1 Introduction

Software Transactional Memory, or STM, is an abstraction for concurrent communication. The main benefits of STM are composability and modularity. That is, using STM you can write concurrent abstractions that can be easily composed with any other abstraction built using STM, without exposing the details of how your abstraction ensures safety. This is typically not the case with other forms of concurrent communication, such as locks or MVars.

STM for Haskell was first implemented in GHC 6.4. There exist STM implementations for other compilers.

2 Resources

3 Projects using STM

4 Examples

Retrieved from "http://haskell.org/haskellwiki/Software_transactional_memory"

This page has been accessed 11,105 times. This page was last modified 13:59, 18 March 2008. Recent content is available under a simple permissive license.