[webkit-gtk] Changing the DOM from a separate thread / repaint issues
tehunger at gmail.com
Wed Nov 30 03:59:52 PST 2016
On 29 November 2016 at 16:48, Michael Catanzaro <mcatanzaro at igalia.com>
> 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
Injecting changes via the main loop via idleAdd does indeed work, many
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk