diff options
author | James Bursa <james@netsurf-browser.org> | 2003-11-06 19:41:41 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-11-06 19:41:41 +0000 |
commit | b212e59a20f304132e8c6636771d250ac7998ad3 (patch) | |
tree | 41ae6f084229ac7a517b81dbe6a3f2e3f3ea6137 /riscos/plugin.c | |
parent | 33759f1e7b56b9ec682f3b82c878818018e652c8 (diff) | |
download | netsurf-b212e59a20f304132e8c6636771d250ac7998ad3.tar.gz netsurf-b212e59a20f304132e8c6636771d250ac7998ad3.tar.bz2 |
[project @ 2003-11-06 19:41:41 by bursa]
Mask null polls and use PollIdle when appropriate.
svn path=/import/netsurf/; revision=406
Diffstat (limited to 'riscos/plugin.c')
-rw-r--r-- | riscos/plugin.c | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |