[ros-diffs] [sginsberg] 35010: - Get rid of a confusing goto and call KiUnwaitThread directly. This was a remnant of some code refactoring.
sginsberg at svn.reactos.org
sginsberg at svn.reactos.org
Fri Aug 1 18:03:49 CEST 2008
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=35010&r1=35009&r2=35010&view=diff
==============================================================================
--- 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 */
More information about the Ros-diffs
mailing list