tmp/tmpzf9iu0by/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
## Fences <a id="atomics.fences">[[atomics.fences]]</a>
|
| 2 |
|
| 3 |
This subclause introduces synchronization primitives called *fences*.
|
| 4 |
Fences can have acquire semantics, release semantics, or both. A fence
|
| 5 |
with acquire semantics is called an *acquire fence*. A fence with
|
| 6 |
release semantics is called a *release fence*.
|
|
@@ -53,46 +53,5 @@ which actions performed by the thread become visible to the signal
|
|
| 53 |
handler. Compiler optimizations and reorderings of loads and stores are
|
| 54 |
inhibited in the same way as with `atomic_thread_fence`, but the
|
| 55 |
hardware fence instructions that `atomic_thread_fence` would have
|
| 56 |
inserted are not emitted. — *end note*]
|
| 57 |
|
| 58 |
-
<!-- Link reference definitions -->
|
| 59 |
-
[atomic.types.int.comp]: #atomic.types.int.comp
|
| 60 |
-
[atomic.types.pointer.comp]: #atomic.types.pointer.comp
|
| 61 |
-
[atomics]: #atomics
|
| 62 |
-
[atomics.alias]: #atomics.alias
|
| 63 |
-
[atomics.fences]: #atomics.fences
|
| 64 |
-
[atomics.flag]: #atomics.flag
|
| 65 |
-
[atomics.general]: #atomics.general
|
| 66 |
-
[atomics.lockfree]: #atomics.lockfree
|
| 67 |
-
[atomics.nonmembers]: #atomics.nonmembers
|
| 68 |
-
[atomics.order]: #atomics.order
|
| 69 |
-
[atomics.ref.float]: #atomics.ref.float
|
| 70 |
-
[atomics.ref.generic]: #atomics.ref.generic
|
| 71 |
-
[atomics.ref.int]: #atomics.ref.int
|
| 72 |
-
[atomics.ref.memop]: #atomics.ref.memop
|
| 73 |
-
[atomics.ref.ops]: #atomics.ref.ops
|
| 74 |
-
[atomics.ref.pointer]: #atomics.ref.pointer
|
| 75 |
-
[atomics.summary]: #atomics.summary
|
| 76 |
-
[atomics.syn]: #atomics.syn
|
| 77 |
-
[atomics.types.float]: #atomics.types.float
|
| 78 |
-
[atomics.types.generic]: #atomics.types.generic
|
| 79 |
-
[atomics.types.int]: #atomics.types.int
|
| 80 |
-
[atomics.types.memop]: #atomics.types.memop
|
| 81 |
-
[atomics.types.operations]: #atomics.types.operations
|
| 82 |
-
[atomics.types.pointer]: #atomics.types.pointer
|
| 83 |
-
[atomics.wait]: #atomics.wait
|
| 84 |
-
[basic.align]: basic.md#basic.align
|
| 85 |
-
[basic.fundamental]: basic.md#basic.fundamental
|
| 86 |
-
[basic.life]: basic.md#basic.life
|
| 87 |
-
[basic.types]: basic.md#basic.types
|
| 88 |
-
[cfenv]: numerics.md#cfenv
|
| 89 |
-
[compliance]: library.md#compliance
|
| 90 |
-
[expr.pre]: expr.md#expr.pre
|
| 91 |
-
[intro.multithread]: basic.md#intro.multithread
|
| 92 |
-
[intro.progress]: basic.md#intro.progress
|
| 93 |
-
[intro.races]: basic.md#intro.races
|
| 94 |
-
[limits.syn]: support.md#limits.syn
|
| 95 |
-
[smartptr]: utilities.md#smartptr
|
| 96 |
-
[util.smartptr.atomic]: #util.smartptr.atomic
|
| 97 |
-
[util.smartptr.atomic.shared]: #util.smartptr.atomic.shared
|
| 98 |
-
[util.smartptr.atomic.weak]: #util.smartptr.atomic.weak
|
|
|
|
| 1 |
+
### Fences <a id="atomics.fences">[[atomics.fences]]</a>
|
| 2 |
|
| 3 |
This subclause introduces synchronization primitives called *fences*.
|
| 4 |
Fences can have acquire semantics, release semantics, or both. A fence
|
| 5 |
with acquire semantics is called an *acquire fence*. A fence with
|
| 6 |
release semantics is called a *release fence*.
|
|
|
|
| 53 |
handler. Compiler optimizations and reorderings of loads and stores are
|
| 54 |
inhibited in the same way as with `atomic_thread_fence`, but the
|
| 55 |
hardware fence instructions that `atomic_thread_fence` would have
|
| 56 |
inserted are not emitted. — *end note*]
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|