_WriteBarrier
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at _WriteBarrier.
Microsoft Specific**
Limits the compiler optimizations that can reorder memory access operations across the point of the call.
The |
void _WriteBarrier(void);
| Intrinsic | Architecture |
|---|---|
_WriteBarrier | x86, x64 |
Header file <intrin.h>
The _WriteBarrier intrinsic limits the compiler optimizations that can remove or reorder memory access operations across the point of the call.