mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user