Implement timer expiring too fast for KeDelayExecutionThread. Dedicated to filip Modified: trunk/reactos/ntoskrnl/ke/wait.c _____
Modified: trunk/reactos/ntoskrnl/ke/wait.c --- trunk/reactos/ntoskrnl/ke/wait.c 2005-03-18 23:00:54 UTC (rev 14183) +++ trunk/reactos/ntoskrnl/ke/wait.c 2005-03-18 23:26:44 UTC (rev 14184) @@ -126,8 +126,9 @@
/* Insert the Timer into the Timer Lists and enable it */ if (!KiInsertTimer(ThreadTimer, *Interval)) {
- /* FIXME: Unhandled case...what should we do? */ - DPRINT1("Could not create timer for KeDelayExecutionThread\n"); + /* FIXME: The timer already expired, we should find a new ready thread */ + Status = STATUS_SUCCESS; + break; }
/* Handle Kernel Queues */