#include <intrin.h> | |
__int64 _InterlockedAnd64(__int64 volatile *Destination, __int64 Value) | |
{ | |
__asm__ __volatile__("lock ; andq %0,%1" | |
: : "r"(Value),"m"(*Destination) : "memory"); | |
return *Destination; | |
} | |
__int64 InterlockedAnd64(__int64 volatile *, __int64) __attribute__((alias("_InterlockedAnd64"))); | |