[Webkit-unassigned] [Bug 72155] Replace Qt QThread threading back-end with pthread/Win32 threading back-ends

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 21 00:08:32 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72155





--- Comment #13 from Simon Hausmann <hausmann at webkit.org>  2011-11-21 00:08:32 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > in qt/MainThreadQt.cpp we post a message to the main gui thread, which requires
> > that the current thread is a QThread.
> 
> I don't think that's the case - the native thread automatically becomes a QAdoptedThread if needed and posting messages to the main thread from it seems to 
work fine.

You're right. I saw the adopted thread stuff, but my grep missed the place where we create the adopted threads :)

> Setting a breakpoint in WTF::MainThreadInvoker::dispatch() and WTF::scheduleDispatchFunctionsOnMainThread() dispatch() is called on the main thread for each corresponding call to WTF::scheduleDispatchFunctionsOnMainThread()

-- 
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