Zebediah Figura : ntoskrnl.exe: Use a manual-reset event for remove locks.

Alexandre Julliard julliard at winehq.org
Wed Aug 21 14:39:32 CDT 2019


Module: wine
Branch: master
Commit: 83493a72bc1bc36dd6776c0b45f51afdcc471ade
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=83493a72bc1bc36dd6776c0b45f51afdcc471ade

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Aug 20 22:05:53 2019 -0500

ntoskrnl.exe: Use a manual-reset event for remove locks.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntoskrnl.exe/sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntoskrnl.exe/sync.c b/dlls/ntoskrnl.exe/sync.c
index 4ab8b49..7aed1d0 100644
--- a/dlls/ntoskrnl.exe/sync.c
+++ b/dlls/ntoskrnl.exe/sync.c
@@ -1205,7 +1205,7 @@ void WINAPI IoInitializeRemoveLockEx( IO_REMOVE_LOCK *lock, ULONG tag,
     TRACE("lock %p, tag %#x, max_minutes %u, max_count %u, size %u.\n",
             lock, tag, max_minutes, max_count, size);
 
-    KeInitializeEvent( &lock->Common.RemoveEvent, SynchronizationEvent, FALSE );
+    KeInitializeEvent( &lock->Common.RemoveEvent, NotificationEvent, FALSE );
     lock->Common.Removed = FALSE;
     lock->Common.IoCount = 0;
 }




More information about the wine-cvs mailing list