[libcxx-commits] [libcxx] [libcxx] Implementation of non lock-free atomic shared_ptr (PR #194215)

Vladislav Semykin via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 26 13:01:26 PDT 2026


ViNN280801 wrote:

Thank you for the context and the link to N4058.

Regarding specific lock-free: I agree this is the right direction. On x86-64 with CMPXCHNG16G and AArch64 with LSE, a DWCAS-based fast path can be implemented without portability issues. I am actively researching this.

I'm happy to rework the PR in whatever direction the team prefers.

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


More information about the libcxx-commits mailing list