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

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-08-20 22:05:53 -05:00 committed by Alexandre Julliard
parent 8a125eb000
commit 83493a72bc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}