[Webkit-unassigned] [Bug 130027] [GLIB] Add GMainLoopSource class to wrap idle and timeout sources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 11 07:49:04 PDT 2014


--- Comment #22 from Carlos Garcia Campos <cgarcia at igalia.com>  2014-03-11 07:45:59 PST ---
(In reply to comment #21)
> What about WTF::callOnMainThread? I think actually that a lot of code in WebCore could use it.

Well, I don't know how that exactly works, but it uses a functions queue protected by a mutex that ends up using a GMainLoopSource in the end. It seems to me that adds complexity that our GMainLoop already does for us. So, for non cross platform code, I think it's better to schedule sources directly.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list