wren ng thornton | 13 May 06:35 2013

ANN: stm-chans 2.0.0

--------------------------------------------
-- stm-chans 2.0.0
--------------------------------------------

The stm-chans package offers a collection of channel types, similar to
Control.Concurrent.STM.{TChan,TQueue} but with additional features.

--------------------------------------------
-- Changes (since 1.3.1)
--------------------------------------------

* (by kudah) Added TMQueue and TBMQueue, which are like the corresponding
T*Chans except using the new T*Queue data types in stm >= 2.4. We use CPP
to provide compatibility shims for older versions of stm.

--------------------------------------------
-- Long description
--------------------------------------------

In particular stm-chans offers the following data types:

* Control.Concurrent.STM.TBChan:  Bounded FIFO channels.

    When the channel is full, writers will block/retry. This ensures that
the writers do not get too far ahead of the readers, which helps to
make sure that memory and cpu resources are used responsibly.

* Control.Concurrent.STM.TMChan:   Closeable FIFO channels.
* Control.Concurrent.STM.TMQueue:  Closeable FIFO queues.

(Continue reading)


Gmane