// None of these atomics are available in a 32-bit Windows build!!
This is actually false. All of these interlocked functions are indeed available for 32-bit platforms. The issue here is that you can’t use #pragma intrinsic
. Instead, you need to include the native header Windows.h
to access these functions.