[PATCH] D32265: Add __CLANG_ATOMIC_<TYPE>_LOCK_FREE macros for use in MSVC compatibility mode.

Billy Robert O'Neal III via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 14:53:17 PDT 2017


BillyONeal added a comment.

In https://reviews.llvm.org/D32265#731709, @jfb wrote:

> Is it a goal to support Microsoft's STL with this? If so, how does MSVC's STL implement `is_always_lock_free` at the moment? CL 19 2017 RTW doesn't seem to have anything <https://godbolt.org/g/jQOxlu>? Presumably they'll have to do *something*.


Our STL implements <atomic> entirely as a library feature (on top of the _InterlockedXxx intrinsics and alignas).


https://reviews.llvm.org/D32265





More information about the cfe-commits mailing list