From cbf07e1bc3e11d7cce4769782f2acf76e47f6947 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 11 Feb 2009 22:33:55 +0000 Subject: make schedule_run return if it has active jobs to schedule svn path=/trunk/netsurf/; revision=6447 --- riscos/schedule.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'riscos') diff --git a/riscos/schedule.c b/riscos/schedule.c index 285345318..d0d27401c 100644 --- a/riscos/schedule.c +++ b/riscos/schedule.c @@ -128,7 +128,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 sched_entry *entry; void (*callback)(void *p); @@ -153,4 +153,6 @@ void schedule_run(void) sched_time = sched_queue.next->time; } else sched_active = false; + + return sched_active; } -- cgit v1.2.3