[Haskell-cafe] simple stm question

Felipe Almeida Lessa felipe.lessa at gmail.com
Tue Mar 15 01:05:07 CET 2011


On Mon, Mar 14, 2011 at 11:56 PM, qld3303 <qld3303 at gmail.com> wrote:
> This will work if I use atomically, but otherwise it does nothing, tchan
> remains empty afterwards.
> I'm not clear how this should behave.

You really should use atomically on that line.  I don't see how it
worked before.

-- 
Felipe.



More information about the Haskell-Cafe mailing list