[libcxx-commits] [libcxx] [libcxx] Implementing hazard ptrs P2530 (PR #218218)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sun Aug 23 09:23:12 PDT 2026


================

----------------
Zingam wrote:

```suggestion
// This controls the availability of the C++26 <hazard_pointer> facility. The hazard pointer
// domain (records, retired lists, reclamation) lives in the built library.
#define _LIBCPP_AVAILABILITY_HAS_HAZARD_POINTER _LIBCPP_INTRODUCED_IN_LLVM_24
#define _LIBCPP_AVAILABILITY_HAZARD_POINTER _LIBCPP_INTRODUCED_IN_LLVM_24_ATTRIBUTE

```

Target LLVM24 and moved up.

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


More information about the libcxx-commits mailing list