Hello John,

Tuesday, February 12, 2008, 9:28:22 PM, you wrote:
> I was recently looking at the STM library, and I have a question about
> the function "unsafeIOToSTM".  Can anyone explain to me what is unsafe
> about it, and what sort of use would be considered "safe"?

STM operations can be repeated if first transaction was unsuccessful.
so, you may se here only operations that may be safely repeated - say,
reading/writing memory areas, or reading/writing files, or even
sending network message as long as its duplication is ok

-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to