mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Update ntdll-futex-condition-var patch
Correct MacOS build error
This commit is contained in:
parent
9a1a1f02fb
commit
2f3ba1fb46
@ -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 <z.figura12@gmail.com>
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user