You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libcxx/docs/ABIGuarantees.rst
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,10 @@ resulting in an ABI break.
209
209
------------------------------------------
210
210
This flag changes the implementation of ``atomic::wait()`` and ``atomic::notify_one()/notify_all()`` to use the
211
211
native atomic wait/notify operations on platforms that support them based on the size of the atomic type, instead
212
-
of the type itself. This means for example that a type with ``sizeof(T) == 4`` on Linux that doesn't have padding bytes would be able to use the underlying platform's atomic wait primitive, which is otherwise only used for ``int32_t``. Since the whole program must use the same implementation for correctness, changing this is an ABI break since libc++ supports linking against TUs that were compiled against older versions of the library.
212
+
of the type itself. This means for example that a type with ``sizeof(T) == 4`` on Linux that doesn't have padding
213
+
bytes would be able to use the underlying platform's atomic wait primitive, which is otherwise only used for ``int32_t``.
214
+
Since the whole program must use the same implementation for correctness, changing this is an ABI break since libc++
215
+
supports linking against TUs that were compiled against older versions of the library.
0 commit comments