[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
Wed Nov 23 16:29:54 PST 2011


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





--- Comment #16 from Andrew Wason <rectalogic at rectalogic.com>  2011-11-23 16:29:54 PST ---
(In reply to comment #14)
> I won't get around to doing it before the end of the week, so please feel free to beat me to it :)

Now I'm wondering if we should hold off on this patch.
Since the patch to wait for worker threads in bug 72538 is not going to be accepted, it may be more difficult to fix that if this patch is applied.

The problem is if we aren't using a QThreads back-end, then all the worker threads end up becoming QAdoptedThreads anyway (due to scheduleDispatchFunctionsOnMainThread), and we have no control over the QAdoptedThread objects lifetime (it is destroyed by Qt as part of thread shutdown). With the QThreads back-end, we control the QThread object lifetime and so could wait for any remaining QThreads when QApplication is destroyed.

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