aa87658ad07aaa83b273df1827baa8af6f2d629f
[reactos.git] / reactos / lib / rtl / interlck.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Runtime Library
4 * PURPOSE: RTL Interlocked Routines
5 * FILE: lib/rtl/interlck.c
6 * PROGRAMERS: Stefan Ginsberg (stefan__100__@hotmail.com)
7 */
8
9 /* INCLUDES *****************************************************************/
10
11 #include <rtl.h>
12
13 #define NDEBUG
14 #include <debug.h>
15
16 /* FUNCTIONS ***************************************************************/
17
18 LONGLONG
19 NTAPI
20 RtlInterlockedCompareExchange64(LONGLONG volatile *Destination,
21 LONGLONG Exchange,
22 LONGLONG Comparand)
23 {
24 /* Just call the intrinsic */
25 return _InterlockedCompareExchange64(Destination, Exchange, Comparand);
26 }