mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- Get rid of a confusing goto and call KiUnwaitThread directly. This was a remnant of some code refactoring.
svn path=/trunk/; revision=35010
This commit is contained in:
parent
0ebeef15a1
commit
e5aa7fccf6
|
@ -207,7 +207,6 @@ KiInsertQueueApc(IN PKAPC Apc,
|
||||||
Status = STATUS_KERNEL_APC;
|
Status = STATUS_KERNEL_APC;
|
||||||
|
|
||||||
/* Wake up the thread */
|
/* Wake up the thread */
|
||||||
Unwait:
|
|
||||||
KiUnwaitThread(Thread, Status, PriorityBoost);
|
KiUnwaitThread(Thread, Status, PriorityBoost);
|
||||||
}
|
}
|
||||||
else if (Thread->State == GateWait)
|
else if (Thread->State == GateWait)
|
||||||
|
@ -240,7 +239,9 @@ Unwait:
|
||||||
/* Set user-mode APC pending */
|
/* Set user-mode APC pending */
|
||||||
Thread->ApcState.UserApcPending = TRUE;
|
Thread->ApcState.UserApcPending = TRUE;
|
||||||
Status = STATUS_USER_APC;
|
Status = STATUS_USER_APC;
|
||||||
goto Unwait;
|
|
||||||
|
/* Wake up the thread */
|
||||||
|
KiUnwaitThread(Thread, Status, PriorityBoost);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Release dispatcher lock */
|
/* Release dispatcher lock */
|
||||||
|
|
Loading…
Reference in a new issue