[libcxx-commits] [libcxx] [libc++] Increase `atomic_ref`'s required alignment for small types (PR #99654)

Damien L-G via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 24 10:33:18 PDT 2024


dalg24 wrote:

> What happens when the alignment requirement is not satisfied? Is it only that we will incorrectly report that the `atomic_ref` is always lock free when in reality it uses a lock under the hood due to the incorrect alignment?

This is also how I understand it.

https://github.com/llvm/llvm-project/pull/99654


More information about the libcxx-commits mailing list