fixed IoCompleteRequest() to give priority boost even when target thread != current thread

svn path=/trunk/; revision=844
This commit is contained in:
Phillip Susi 1999-12-09 19:39:45 +00:00
parent dbf662da37
commit 815a52debe

View file

@ -253,7 +253,7 @@ VOID IopCompleteRequest(struct _KAPC* Apc,
"(*SystemArgument1) %x\n", Apc, SystemArgument1,
*SystemArgument1);
IoSecondStageCompletion((PIRP)(*SystemArgument1),
IO_NO_INCREMENT);
SystemArgument2);
}
VOID IoCompleteRequest(PIRP Irp, CCHAR PriorityBoost)
@ -308,7 +308,7 @@ VOID IoCompleteRequest(PIRP Irp, CCHAR PriorityBoost)
Irp->Overlay.AsynchronousParameters.UserApcContext);
KeInsertQueueApc(&Irp->Tail.Apc,
Irp,
NULL,
PriorityBoost,
KernelMode);
}
else