diff options
Diffstat (limited to 'amiga/schedule.c')
-rwxr-xr-x | amiga/schedule.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/amiga/schedule.c b/amiga/schedule.c index 008bf4d01..8ec7b3da0 100755 --- a/amiga/schedule.c +++ b/amiga/schedule.c @@ -115,7 +115,7 @@ void schedule_remove(void (*callback)(void *p), void *p) * Process events up to current time. */ -void schedule_run(void) +bool schedule_run(void) { struct nsObject *node; struct nsObject *nnode; @@ -124,7 +124,7 @@ void schedule_run(void) void *p; struct timeval tv; - if(IsMinListEmpty(schedule_list)) return; + if(IsMinListEmpty(schedule_list)) return false; GetSysTime(&tv); @@ -148,6 +148,8 @@ void schedule_run(void) } } } while(node=nnode); + + return true; } void ami_remove_timer_event(struct nscallback *nscb) |