[docs] Fixed a typo in Atomics.rst

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218319 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jingyue Wu
2014-09-23 17:35:28 +00:00
parent e0c253f4e8
commit 04b11eb4ec

View File

@@ -177,10 +177,10 @@ Unordered
Unordered is the lowest level of atomicity. It essentially guarantees that races Unordered is the lowest level of atomicity. It essentially guarantees that races
produce somewhat sane results instead of having undefined behavior. It also produce somewhat sane results instead of having undefined behavior. It also
guarantees the operation to be lock-free, so it do not depend on the data being guarantees the operation to be lock-free, so it does not depend on the data
part of a special atomic structure or depend on a separate per-process global being part of a special atomic structure or depend on a separate per-process
lock. Note that code generation will fail for unsupported atomic operations; if global lock. Note that code generation will fail for unsupported atomic
you need such an operation, use explicit locking. operations; if you need such an operation, use explicit locking.
Relevant standard Relevant standard
This is intended to match the Java memory model for shared variables. This is intended to match the Java memory model for shared variables.