Author: fireball
Date: Wed Mar 30 11:05:40 2011
New Revision: 51204
URL:
http://svn.reactos.org/svn/reactos?rev=51204&view=rev
Log:
[NTOS/KE]
- Clear KernelApcPending flag every time the Kernel APCs queue is not empty.
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=5120…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] Wed Mar 30 11:05:40 2011
@@ -340,6 +340,9 @@
break;
}
+ /* Kernel APC is not pending anymore */
+ Thread->ApcState.KernelApcPending = FALSE;
+
/* Get the next Entry */
ApcListEntry = Thread->ApcState.ApcListHead[KernelMode].Flink;
Apc = CONTAINING_RECORD(ApcListEntry, KAPC, ApcListEntry);