Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.


Microsoft Specific

Emits the IPF Memory Fence (mf) instruction, which sets up a hardware memory fence.

void __mf(void);





Header file <intrin.h>

A hardware memory fence ensures that all memory reads and writes are made visible to all processors prior to any subsequent memory reads and writes. The __mf intrinsic does not ensure that these memory reads and writes have been accepted by the platform. If that is a requirement, use __mfa.

This routine is only available as an intrinsic.

© 2016 Microsoft