This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -249,13 +249,26 @@ version (CoreDdoc)
249
249
250
250
/**
251
251
* Specifies the memory ordering semantics of an atomic operation.
252
+ *
253
+ * See_Also:
254
+ * $(HTTP en.cppreference.com/w/cpp/atomic/memory_order)
252
255
*/
253
256
enum MemoryOrder
254
257
{
255
- raw, // / Not sequenced.
256
- acq, // / Hoist-load + hoist-store barrier.
257
- rel, // / Sink-load + sink-store barrier.
258
- seq, // / Fully sequenced (acquire + release).
258
+ // / Not sequenced.
259
+ // / Corresponds to $(LINK2 https://llvm.org/docs/Atomics.html#monotonic, LLVM AtomicOrdering.Monotonic).
260
+ raw,
261
+ // / Hoist-load + hoist-store barrier.
262
+ // / Corresponds to $(LINK2 https://llvm.org/docs/Atomics.html#acquire, LLVM AtomicOrdering.Acquire).
263
+ acq,
264
+ // / Sink-load + sink-store barrier.
265
+ // / Corresponds to $(LINK2 https://llvm.org/docs/Atomics.html#release, LLVM AtomicOrdering.Release).
266
+ rel,
267
+ /+ +
268
+ Fully sequenced (acquire + release). Corresponds to
269
+ $(LINK2 https://llvm.org/docs/Atomics.html#sequentiallyconsistent, LLVM AtomicOrdering.SequentiallyConsistent)
270
+ +/
271
+ seq,
259
272
}
260
273
261
274
deprecated (" Please use MemoryOrder instead." )
You can’t perform that action at this time.
0 commit comments