Fix scheduler to allow stepping clock from timeout handler
This commit is contained in:
parent
8a00758cf5
commit
27a9b0e7b1
1 changed files with 1 additions and 1 deletions
2
sched.c
2
sched.c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue