[NTDLL_VISTA]
[reactos.git] / reactos / sdk / lib / rtl / condvar.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * PURPOSE: Condition Variable Routines
5 * PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
6 */
7
8 /* INCLUDES *****************************************************************/
9
10 #include <rtl.h>
11
12 #define NDEBUG
13 #include <debug.h>
14
15 /* FUNCTIONS *****************************************************************/
16
17 VOID
18 NTAPI
19 RtlInitializeConditionVariable(OUT PRTL_CONDITION_VARIABLE ConditionVariable)
20 {
21 ConditionVariable->Ptr = NULL;
22 }
23
24
25 VOID
26 NTAPI
27 RtlWakeConditionVariable(IN OUT PRTL_CONDITION_VARIABLE ConditionVariable)
28 {
29 UNIMPLEMENTED;
30 }
31
32
33 VOID
34 NTAPI
35 RtlWakeAllConditionVariable(IN OUT PRTL_CONDITION_VARIABLE ConditionVariable)
36 {
37 UNIMPLEMENTED;
38 }
39
40
41 NTSTATUS
42 NTAPI
43 RtlSleepConditionVariableCS(IN OUT PRTL_CONDITION_VARIABLE ConditionVariable,
44 IN OUT PRTL_CRITICAL_SECTION CriticalSection,
45 IN PLARGE_INTEGER TimeOut OPTIONAL)
46 {
47 UNIMPLEMENTED;
48 return STATUS_NOT_IMPLEMENTED;
49 }
50
51
52 NTSTATUS
53 NTAPI
54 RtlSleepConditionVariableSRW(IN OUT PRTL_CONDITION_VARIABLE ConditionVariable,
55 IN OUT PRTL_SRWLOCK SRWLock,
56 IN PLARGE_INTEGER TimeOut OPTIONAL,
57 IN ULONG Flags)
58 {
59 UNIMPLEMENTED;
60 return STATUS_NOT_IMPLEMENTED;
61 }