[docs] Fixed a typo in Atomics.rst

llvm-svn: 218319
This commit is contained in:
Jingyue Wu 2014-09-23 17:35:28 +00:00
parent 051742431a
commit c4725da382
1 changed files with 4 additions and 4 deletions
llvm/docs

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.