- Fix some bugs in Kernel Queue implementation:
authorAlex Ionescu <aionescu@gmail.com>
Fri, 6 Jan 2006 02:25:12 +0000 (02:25 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Fri, 6 Jan 2006 02:25:12 +0000 (02:25 +0000)
commitc1b51155f792dbbd20a31947193f682ebf9e680f
tree0269a66ad4b2a122471d6458ab5468cc07ee8763
parenta7c21d9dbf8e618446db4c9b8f96e782d57da586
- Fix some bugs in Kernel Queue implementation:
  * KeRemoveQueue did not set Thread->WaitNext = FALSE if it was called with WaitNext = TRUE.
  * KeRemoveQueue did not handle the case where a kernel-mode APC is pending and the previous IRQL was below APC_LEVEL.
  * KeRemoveQueue did not set the thread's wait status to 0.
  * KiInsertQueue did not set the Thread's wait status to the entry being inserted.
  * KiInsertQueue did not remove the thread from its wait list.
  * KeRemoveQueue did not properly link the wait blocks.

svn path=/trunk/; revision=20601
reactos/ntoskrnl/ke/queue.c