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.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to