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

s/therad/thread/


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 3682558c
...@@ -150,7 +150,7 @@ atomicWriteIORef ref a = do ...@@ -150,7 +150,7 @@ atomicWriteIORef ref a = do
operations cannot cause type-correct code to go wrong. In operations cannot cause type-correct code to go wrong. In
particular, when inspecting the value read from an 'IORef', the particular, when inspecting the value read from an 'IORef', the
memory writes that created that value must have occurred from 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' acts as a barrier to reordering. Multiple
'atomicModifyIORef' operations occur in strict program order. An '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