[REACTOS]
[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 PSLIST_ENTRY
19 NTAPI
20 RtlInterlockedPushListSList(IN PSLIST_HEADER ListHead,
21 IN PSLIST_ENTRY List,
22 IN PSLIST_ENTRY ListEnd,
23 IN ULONG Count)
24 {
25 UNIMPLEMENTED;
26 return NULL;
27 }
28
29 LONGLONG
30 NTAPI
31 RtlInterlockedCompareExchange64(LONGLONG volatile *Destination,
32 LONGLONG Exchange,
33 LONGLONG Comparand)
34 {
35 /* Just call the intrinsic */
36 return _InterlockedCompareExchange64(Destination, Exchange, Comparand);
37 }