From b212e59a20f304132e8c6636771d250ac7998ad3 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 6 Nov 2003 19:41:41 +0000 Subject: [project @ 2003-11-06 19:41:41 by bursa] Mask null polls and use PollIdle when appropriate. svn path=/import/netsurf/; revision=406 --- riscos/plugin.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'riscos/plugin.c') diff --git a/riscos/plugin.c b/riscos/plugin.c index 02db64676..e64fc8b21 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -211,7 +211,7 @@ void plugin_add_instance(struct content *c, struct browser_window *bw, otherwise we'll be stuck in this loop forever */ while(temp->poll == 0) - gui_poll(); + gui_poll(true); if(temp->plugin != 0 && temp->reply != 0) { @@ -256,7 +256,7 @@ void plugin_add_instance(struct content *c, struct browser_window *bw, otherwise we'll be stuck in this loop forever */ while(temp->poll == 0) - gui_poll(); + gui_poll(true); if(temp->plugin != 0 && temp->reply != 0) { @@ -370,7 +370,7 @@ void plugin_remove_instance(struct content *c, struct browser_window *bw, otherwise we'll be stuck in this loop forever */ while (temp == 0) - gui_poll(); + gui_poll(true); if (temp->reply != 0){ @@ -789,7 +789,7 @@ void plugin_create_stream(struct browser_window *bw, struct object_params *param otherwise we'll be stuck in this loop forever */ while(temp->poll == 0) - gui_poll(); + gui_poll(true); pmsn = (plugin_message_stream_new*)&temp->reply->m->data; params->browser_stream = params->browser; @@ -851,7 +851,7 @@ void plugin_write_stream(struct browser_window *bw, struct object_params *params otherwise we'll be stuck in this loop forever */ while(temp->poll == 0) - gui_poll(); + gui_poll(true); pmswt = (plugin_message_stream_written*)&temp->reply->m->data; if(pmswt->length > 0) { -- cgit v1.2.3