Sign in
third-party-mirror
/
mingw-w64
/
dbc05d62a2762e98080b2942038adca7a799bb98
/
.
/
mingw-w64-crt
/
intrincs
/
membarrier.c
blob: b6f239aa0780530a5f1b234a69e587d159390af2 [
file
] [
log
] [
blame
]
void
MemoryBarrier
(
void
);
void
MemoryBarrier
(
void
)
{
long
Barrier
=
0
;
__asm__ __volatile__
(
"xchgl %%eax,%0 "
:
"=r"
(
Barrier
));
}