Don't remove the WaitEntry twice (in KiInsertQueue).
Modified: trunk/reactos/ntoskrnl/ke/queue.c

Modified: trunk/reactos/ntoskrnl/ke/queue.c
--- trunk/reactos/ntoskrnl/ke/queue.c	2006-01-09 23:58:25 UTC (rev 20760)
+++ trunk/reactos/ntoskrnl/ke/queue.c	2006-01-10 00:00:14 UTC (rev 20761)
@@ -470,9 +470,6 @@
         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)
         {