Author: sginsberg
Date: Fri Aug 1 11:03:49 2008
New Revision: 35010
URL:
http://svn.reactos.org/svn/reactos?rev=35010&view=rev
Log:
- Get rid of a confusing goto and call KiUnwaitThread directly. This was a remnant of some
code refactoring.
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=3501…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/apc.c [iso-8859-1] Fri Aug 1 11:03:49 2008
@@ -207,7 +207,6 @@
Status = STATUS_KERNEL_APC;
/* Wake up the thread */
-Unwait:
KiUnwaitThread(Thread, Status, PriorityBoost);
}
else if (Thread->State == GateWait)
@@ -240,7 +239,9 @@
/* Set user-mode APC pending */
Thread->ApcState.UserApcPending = TRUE;
Status = STATUS_USER_APC;
- goto Unwait;
+
+ /* Wake up the thread */
+ KiUnwaitThread(Thread, Status, PriorityBoost);
}
/* Release dispatcher lock */