Schedule an immediate fetch poll if fetch is active

This commit is contained in:
Chris Young 2013-04-15 23:42:46 +01:00
parent 6090e36da2
commit dbebd4c1ce

View File

@ -2459,8 +2459,14 @@ printf("sig recvd %ld (%ld %ld %ld %ld %ld %ld)\n", signal, winsignal , appsig ,
} }
} }
static void ami_gui_fetch_callback(void *p)
{
hlcache_poll();
}
void gui_poll(bool active) void gui_poll(bool active)
{ {
if(active) schedule(0, ami_gui_fetch_callback, NULL);
ami_get_msg(); ami_get_msg();
} }