microsoft / STL

MSVC's implementation of the C++ Standard Library.
Other
9.88k stars 1.45k forks source link

Fix `atomic_ref::is_lock_free()` on x64 #4729

Closed StephanTLavavej closed 1 day ago

StephanTLavavej commented 1 week ago

Fixes #4728.

For !_ATOMIC_HAS_DCAS:

StephanTLavavej commented 3 days ago

I'm speculatively mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.