mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +00:00
use correct wait mode when checking alertability in KeDelayExecuteThread. thanks to gunnar for noticing the bug
svn path=/trunk/; revision=17479
This commit is contained in:
parent
db6c51690e
commit
f3f3986cdc
|
@ -111,7 +111,7 @@ KeDelayExecutionThread(KPROCESSOR_MODE WaitMode,
|
|||
do {
|
||||
|
||||
/* We are going to wait no matter what (that's the point), so test Alertability */
|
||||
if (KiCheckAlertability(Alertable, CurrentThread, KernelMode, &Status))
|
||||
if (KiCheckAlertability(Alertable, CurrentThread, WaitMode, &Status))
|
||||
break;
|
||||
|
||||
/* Set Timer */
|
||||
|
|
Loading…
Reference in a new issue