Logo Search packages:      
Sourcecode: mingw-w64 version File versions  Download package

ilockand.c
#include <intrin.h>

long _InterlockedAnd(long volatile *Destination, long Value)
{
  __asm__ __volatile__("lock ; andl %0,%1"
    : :"r"(Value),"m"(*Destination)
    : "memory");
  return *Destination;
}

long InterlockedAnd(long volatile *, long) __attribute__((alias("_InterlockedAnd")));


Generated by  Doxygen 1.6.0   Back to index