From 2f3ba1fb462894ad267d72d07ed2114e0ae1f5c2 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Sat, 4 Aug 2018 17:23:49 +1000 Subject: [PATCH] Update ntdll-futex-condition-var patch Correct MacOS build error --- ...-a-futex-based-condition-variable-implement.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/ntdll-futex-condition-var/0001-ntdll-Add-a-futex-based-condition-variable-implement.patch b/patches/ntdll-futex-condition-var/0001-ntdll-Add-a-futex-based-condition-variable-implement.patch index 99c9e588..ce81b038 100644 --- a/patches/ntdll-futex-condition-var/0001-ntdll-Add-a-futex-based-condition-variable-implement.patch +++ b/patches/ntdll-futex-condition-var/0001-ntdll-Add-a-futex-based-condition-variable-implement.patch @@ -1,14 +1,14 @@ -From 3c82febd61f706aa12dc7a183a4fed5dff4b39e4 Mon Sep 17 00:00:00 2001 +From b516bff83076eaa682fc741e84874cd588be693f Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Tue, 24 Jul 2018 11:26:39 -0600 Subject: [PATCH] ntdll: Add a futex-based condition variable implementation. --- - dlls/ntdll/sync.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++---- + dlls/ntdll/sync.c | 148 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 137 insertions(+), 11 deletions(-) diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c -index 8e406ce..83bf199 100644 +index 8e406ceaeb..05dc715848 100644 --- a/dlls/ntdll/sync.c +++ b/dlls/ntdll/sync.c @@ -26,6 +26,7 @@ @@ -123,12 +123,12 @@ index 8e406ce..83bf199 100644 +} + +#else -+static inline NTSTATUS fast_wait( RTL_CRITICAL_SECTION *crit, int timeout ) ++static inline NTSTATUS fast_wait( RTL_CONDITION_VARIABLE *variable, const LARGE_INTEGER *timeout ) +{ + return STATUS_NOT_IMPLEMENTED; +} + -+static inline NTSTATUS fast_wake( RTL_CRITICAL_SECTION *crit ) ++static inline NTSTATUS fast_wake( RTL_CONDITION_VARIABLE *variable, int val ) +{ + return STATUS_NOT_IMPLEMENTED; +} @@ -213,5 +213,5 @@ index 8e406ce..83bf199 100644 if (flags & RTL_CONDITION_VARIABLE_LOCKMODE_SHARED) RtlAcquireSRWLockShared( lock ); -- -2.7.4 +2.18.0