[Haskell-cafe] Re: Using tiny (atomic) mutables between multiple threads

Felix Martini fmartini at gmail.com
Sun Sep 13 18:39:17 EDT 2009


Bulat Ziganshin wrote:
> i suggest you to use IORef Bool instead - as it was said once by
> SimonM, it's safe to use in m/t environment, of course without all
> fancy features of MVar locking

Is it also safe for other types such as Int? And is this documented
somewhere? If not it would be helpful to add this to the Haskell Wiki.


More information about the Haskell-Cafe mailing list