Condividi tramite


__mf

Microsoft Specific

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

void __mf(void);

Requirements

Intrinsic

Architecture

__mf

IPF

Header file <intrin.h>

Remarks

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.

See Also

Reference

__mfa

_ReadWriteBarrier

Compiler Intrinsics