[Haskell-cafe] Relaxing atomicity of STM transactions

Tom Hawkins tomahawkins at gmail.com
Tue Sep 28 21:33:25 EDT 2010

On Tue, Sep 28, 2010 at 6:44 PM, Serguey Zefirov <sergueyz at gmail.com> wrote:
> 2010/9/29 Tom Hawkins <tomahawkins at gmail.com>:
>> In the embedded domain, this could be a fault monitor that
>> reads a bunch of constantly changing sensors.
> I think that sensor reading belongs to IO, not STM.

Sensors would be transfered from IO to TVars via a transaction in an
input processing thread.  My question is not this, but is
looselyReadTVar advantageous to STM programming in general?

My applications can't use Haskell STM, nor the Haskell runtime, due to
their hard realtime requirements.


More information about the Haskell-Cafe mailing list