On Tue, Sep 28, 2010 at 6:44 PM, Serguey Zefirov <sergu...@gmail.com> wrote: > 2010/9/29 Tom Hawkins <tomahawk...@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. -Tom _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe