mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 14:02:03 +00:00
Don't check for critical sections when delivering special kernel mode APCs
svn path=/trunk/; revision=2353
This commit is contained in:
parent
e0308e50e8
commit
18992fbe14
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue