[ros-kernel] Possible bug in ntoskrnl/ke/wait.c

Gunnar André Dalsnes hardon at online.no
Fri Nov 14 19:21:34 CET 2003


> 
> In KeWaitForMultipleObjects, line 683 (CVS ver. unknown - no 
> $Id: tag - but
> it's CVS current as of now) it uses WaitIrql.
> 
> Shouldn't that be CurrentThread->WaitIrql?

No. The thread in not currently waiting, so CurrentThread->WaitIrql is
undefined.
PsBlockThread puts the thread in a waiting state and updates the
CurrentThread->WaitIrql.

Gunnar

> 
> If so, please commit.
> 
> /Mike
> 
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.geldorp.nl:8080/mailman/listinfo/ros-kernel
> 
> 



More information about the Ros-kernel mailing list