blob: d7797e0f4b8616598f1e672fbd26b579ff7487c8 [file] [log] [blame]
#include <intrin.h>
/* for x86 only */
void MemoryBarrier (void)
{
__LONG32 Barrier = 0;
__asm__ __volatile__("xchgl %%eax,%0 "
:"=r" (Barrier));
}