
14 Sep
2009
14 Sep
'09
5:24 a.m.
Hello Felix, Monday, September 14, 2009, 2:39:17 AM, you 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.
afair, it is safe in one-writer-many-readers setup. probably it isn't documented, otherwise Simon hasn't been asked :) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com