From f27d5a3e15b5931f36b96bc5fb3d2572d339715d Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 21 Sep 2011 00:25:09 +0000 Subject: Remove gui_multitask svn path=/trunk/netsurf/; revision=12828 --- riscos/gui.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'riscos/gui.c') diff --git a/riscos/gui.c b/riscos/gui.c index 387f1be11..ee67d576a 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -1080,30 +1080,6 @@ void ro_gui_handle_event(wimp_event_no event, wimp_block *block) } -/** - * Check for important events and yield CPU (RISC OS). - * - * Required on RISC OS for cooperative multitasking. - */ - -void gui_multitask(void) -{ - wimp_event_no event; - wimp_block block; - - if (clock() < gui_last_poll + 10) - return; - - xhourglass_off(); - event = wimp_poll(wimp_MASK_LOSE | wimp_MASK_GAIN | wimp_SAVE_FP, - &block, 0); - xhourglass_on(); - gui_last_poll = clock(); - - ro_gui_handle_event(event, &block); -} - - /** * Handle Null_Reason_Code events. */ -- cgit v1.2.3