Closed StephanTLavavej closed 1 day ago
Fixes #4728.
For !_ATOMIC_HAS_DCAS:
!_ATOMIC_HAS_DCAS
is_always_lock_free
_Is_potentially_lock_free
I'm speculatively mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.
Fixes #4728.
For
!_ATOMIC_HAS_DCAS
:is_always_lock_free
(power of two, at most 1 pointer), return true._Is_potentially_lock_free
(power of two, at most 2 pointers) and have cmpxchg16b.