Commit 83493a72 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent 8a125eb0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment