[Haskell-cafe] announce: Glome.hs raytracer

Andrew Coppin andrewcoppin at btinternet.com
Thu Mar 27 05:27:47 EDT 2008


Bulat Ziganshin wrote:
> plus a b = unsafePerformIO (modifyIORef counter (+1)) `seq` a+b
>   

Erm... might it be better to use an MVar? (To avoid lost updates if 
there are multiple render threads.)



More information about the Haskell-Cafe mailing list