[webkit-gtk] Changing the DOM from a separate thread / repaint issues

Carlos Garcia Campos cgarcia at igalia.com
Tue Nov 29 23:06:00 PST 2016

El mar, 29-11-2016 a las 10:48 -0600, Michael Catanzaro escribió:
> On Tue, 2016-11-29 at 15:52 +0000, Thomas Hunger wrote:
> > Or maybe I'm barking up the wrong tree?
> Yeah. As a rule, GNOME APIs are not threadsafe (except for
> refcounting)
> unless documented otherwise. You should post your DOM operations to
> be
> executed on the main thread. For example, in C you would do that
> using
> g_idle_add() which schedules the work on the global default main
> context.

Yes, I'm not sure this particular case this is something specific to 
the GTK+ API, it's probably that WebCore doesn't really support
modifying the DOM tree from different threads, I don't really know. I
would ask in webkit general mailing list.

> Michael
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
Carlos Garcia Campos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20161130/7a2a6ed6/attachment.sig>

More information about the webkit-gtk mailing list