
20 Feb
2008
20 Feb
'08
4:14 p.m.
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:Bulat.Ziganshin@gmail.com