[ros-diffs] [cgutman] 37714: - Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex Ionescu.

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sat Nov 29 03:57:22 CET 2008


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=37714&r1=37713&r2=37714&view=diff
==============================================================================
--- 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);
                     }
                     



More information about the Ros-diffs mailing list