forked from OSchip/llvm-project
parent
051742431a
commit
c4725da382
llvm/docs
|
@ -177,10 +177,10 @@ Unordered
|
|||
|
||||
Unordered is the lowest level of atomicity. It essentially guarantees that races
|
||||
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
|
||||
part of a special atomic structure or depend on a separate per-process global
|
||||
lock. Note that code generation will fail for unsupported atomic operations; if
|
||||
you need such an operation, use explicit locking.
|
||||
guarantees the operation to be lock-free, so it does not depend on the data
|
||||
being part of a special atomic structure or depend on a separate per-process
|
||||
global lock. Note that code generation will fail for unsupported atomic
|
||||
operations; if you need such an operation, use explicit locking.
|
||||
|
||||
Relevant standard
|
||||
This is intended to match the Java memory model for shared variables.
|
||||
|
|
Loading…
Reference in New Issue