use correct wait mode when checking alertability in
KeDelayExecuteThread. thanks to gunnar for noticing the bug
Modified: trunk/reactos/ntoskrnl/ke/wait.c
_____
Modified: trunk/reactos/ntoskrnl/ke/wait.c
--- trunk/reactos/ntoskrnl/ke/wait.c 2005-08-22 21:35:41 UTC (rev
17478)
+++ trunk/reactos/ntoskrnl/ke/wait.c 2005-08-22 23:33:51 UTC (rev
17479)
@@ -111,7 +111,7 @@
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 */
Show replies by date