Author: cgutman
Date: Fri Nov 28 20:57:21 2008
New Revision: 37714
URL:
http://svn.reactos.org/svn/reactos?rev=37714&view=rev
Log:
- Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex Ionescu.
Modified:
trunk/reactos/ntoskrnl/ke/apc.c
Modified: trunk/reactos/ntoskrnl/ke/apc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/apc.c?rev=3771…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] Fri Nov 28 20:57:21 2008
@@ -242,7 +242,7 @@
if (Thread->Queue) Thread->Queue->CurrentCount++;
/* Put into deferred ready list with this status */
- Status = STATUS_KERNEL_APC;
+ Thread->WaitStatus = STATUS_KERNEL_APC;
KiInsertDeferredReadyList(Thread);
}