mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
fixed IoCompleteRequest() to give priority boost even when target thread != current thread
svn path=/trunk/; revision=844
This commit is contained in:
parent
dbf662da37
commit
815a52debe
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue