Don't remove the WaitEntry twice (in KiInsertQueue).
authorHartmut Birr <osexpert@googlemail.com>
Tue, 10 Jan 2006 00:00:14 +0000 (00:00 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Tue, 10 Jan 2006 00:00:14 +0000 (00:00 +0000)
svn path=/trunk/; revision=20761

reactos/ntoskrnl/ke/queue.c

index 1bccc28..5dd7bce 100644 (file)
@@ -470,9 +470,6 @@ KiInsertQueue(IN PKQUEUE Queue,
         Queue->CurrentCount++;
         Thread->WaitStatus = (NTSTATUS)Entry;
 
         Queue->CurrentCount++;
         Thread->WaitStatus = (NTSTATUS)Entry;
 
-        /* Remove the thread from its wait list */
-        RemoveEntryList(&Thread->WaitListEntry);
-
         /* Check if there's a Thread Timer */
         if (Thread->Timer.Header.Inserted)
         {
         /* Check if there's a Thread Timer */
         if (Thread->Timer.Header.Inserted)
         {