File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
stdlib/public/Synchronization/Atomics Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,6 @@ extension Atomic where Value == ${intType} {
163
163
/// overflow does occur. In `-Ounchecked` builds, overflow checking is not
164
164
/// performed.
165
165
///
166
- /// The need to check for overflow means that this operation is typically
167
- /// compiled into a compare-exchange loop. For use cases that require a
168
- /// direct atomic addition, see the `wrappingAdd` operation: it avoids the
169
- /// loop, but in exchange it allows silent wraps on overflow.
170
- ///
171
166
/// - Parameter operand: An integer value.
172
167
/// - Parameter ordering: The memory ordering to apply on this operation.
173
168
/// - Returns: A tuple containing the original value before the operation and
@@ -207,11 +202,6 @@ extension Atomic where Value == ${intType} {
207
202
/// overflow does occur. In `-Ounchecked` builds, overflow checking is not
208
203
/// performed.
209
204
///
210
- /// The need to check for overflow means that this operation is typically
211
- /// compiled into a compare-exchange loop. For use cases that require a
212
- /// direct atomic subtraction, see the `wrappingSubtract` operation: it
213
- /// avoids the loop, but in exchange it allows silent wraps on overflow.
214
- ///
215
205
/// - Parameter operand: An integer value.
216
206
/// - Parameter ordering: The memory ordering to apply on this operation.
217
207
/// - Returns: A tuple containing the original value before the operation and
You can’t perform that action at this time.
0 commit comments