From bbb0f4c2b999d0f3730333f838a7df73e3775adc Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 15 Apr 2013 23:53:54 +0100 Subject: The scheduled callback function doesn't need to do anything, because NetSurf is going to call hlcache_poll anyway after it returns. --- amiga/gui.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'amiga') diff --git a/amiga/gui.c b/amiga/gui.c index c3a163fe6..fbe46d0b5 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2462,7 +2462,11 @@ printf("sig recvd %ld (%ld %ld %ld %ld %ld %ld)\n", signal, winsignal , appsig , static void ami_gui_fetch_callback(void *p) { - hlcache_poll(); + /* This doesn't need to do anything - the scheduled event will + * send a message to trigger Wait() to return, thereby causing + * the event function to return, and NetSurf to call + * hlcache_poll() as part of the usual fetch/event loop. + */ } void gui_poll(bool active) -- cgit v1.2.3