mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 20:32:36 +00:00
27 lines
769 B
C
27 lines
769 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Runtime Library
|
|
* PURPOSE: RTL Interlocked Routines
|
|
* FILE: lib/rtl/interlck.c
|
|
* PROGRAMERS: Stefan Ginsberg (stefan.ginsberg@reactos.org)
|
|
*/
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include <rtl.h>
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* FUNCTIONS ***************************************************************/
|
|
|
|
LONGLONG
|
|
NTAPI
|
|
RtlInterlockedCompareExchange64(LONGLONG volatile *Destination,
|
|
LONGLONG Exchange,
|
|
LONGLONG Comparand)
|
|
{
|
|
/* Just call the intrinsic */
|
|
return _InterlockedCompareExchange64(Destination, Exchange, Comparand);
|
|
}
|