Commit 4231ff3f authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files


Signed-off-by: default avatarEdward Z. Yang <>
parent 3682558c
......@@ -150,7 +150,7 @@ atomicWriteIORef ref a = do
operations cannot cause type-correct code to go wrong. In
particular, when inspecting the value read from an 'IORef', the
memory writes that created that value must have occurred from the
point of view of the current therad.
point of view of the current thread.
'atomicModifyIORef' acts as a barrier to reordering. Multiple
'atomicModifyIORef' operations occur in strict program order. An
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment