Fix scheduler to allow stepping clock from timeout handler

This commit is contained in:
Hattink, Tjalling (FINT) 2010-01-26 17:11:33 +01:00 committed by Miroslav Lichvar
parent 8a00758cf5
commit 27a9b0e7b1

View file

@ -440,7 +440,7 @@ dispatch_timeouts(struct timeval *now) {
TimerQueueEntry *ptr;
int n_done = 0;
while ((n_timer_queue_entries > 0) &&
if ((n_timer_queue_entries > 0) &&
(UTI_CompareTimevals(now, &(timer_queue.next->tv)) >= 0)) {
ptr = timer_queue.next;