Call the above method in between gdk_thread_enter and gdk_thread_leave. On Wed, Oct 5, 2011 at 7:30 PM, <[email protected]> wrote:
> Send webkit-gtk mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of webkit-gtk digest..." > > > Today's Topics: > > 1. Calling webkit_web_view_load_uri from a pthread (Andrew Wood) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 05 Oct 2011 14:09:55 +0100 > From: Andrew Wood <[email protected]> > To: [email protected] > Subject: [webkit-gtk] Calling webkit_web_view_load_uri from a pthread > Message-ID: <[email protected]> > Content-Type: text/plain; CHARSET=US-ASCII; format=flowed > > Whats the safe way to call webkit_web_view_load_uri from a pthread other > than the main thread. Ive tried using gdk_threads_enter() but am still > getting race condition style crashes. Most navigation actions are > initiated from the main thread but I have another thread which > occasionally needs to initiate a navigation itself. > > Thanks > Andrew > > > ------------------------------ > > _______________________________________________ > webkit-gtk mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk > > > End of webkit-gtk Digest, Vol 28, Issue 5 > ***************************************** > -- jay bhaskar 09891528268
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
