mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Don't check for critical sections when delivering special kernel mode APCs
svn path=/trunk/; revision=2353
This commit is contained in:
@@ -347,8 +347,8 @@ KeInsertQueueApc (PKAPC Apc,
|
||||
* IPI.
|
||||
* FIXME: Check if the thread is terminating.
|
||||
*/
|
||||
if (Apc->ApcMode == KernelMode && TargetThread->KernelApcDisable >= 1 &&
|
||||
TargetThread->WaitIrql < APC_LEVEL && Apc->NormalRoutine == NULL)
|
||||
if (Apc->ApcMode == KernelMode && TargetThread->WaitIrql < APC_LEVEL &&
|
||||
Apc->NormalRoutine == NULL)
|
||||
{
|
||||
KeRemoveAllWaitsThread(CONTAINING_RECORD(TargetThread, ETHREAD, Tcb),
|
||||
STATUS_KERNEL_APC);
|
||||
|
||||
Reference in New Issue
Block a user