Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Bounded STM TChan
Haskell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Control/Concurrent/STM
Example.hs
LICENSE
README.md
Setup.hs
Test.hs
bounded-tchan.cabal

README.md

Bounded STM TChan

A bounded, transactional channel, implemented as a modified STM TChan (http://hackage.haskell.org/package/stm). It is intended to loosely synchronise producers and consumers; exceeding the channel capacity causes the writer to retry.

Additional features:

  • Channels may cancelled, which may be used to signal consumers to shutdown once there are no more elements to process.

  • Channels may be duplicated. Data written to a duplicated channel will appear on all other associated channels, hence leading to a form of broadcast.

Something went wrong with that request. Please try again.