mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fixed IoCompleteRequest() to give priority boost even when target thread != current thread
svn path=/trunk/; revision=844
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user