[Webkit-unassigned] [Bug 166645] WorkQueueGeneric's platformInvalidate() can deadlock when called on the RunLoop's thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 3 02:34:17 PST 2017


--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
I think we can get rid of the terminate condition/mutex. It's ok to detach a running thread, and platformInvalidate is called from the destructor, so we don't need to protect the m_runLoop. Tasks take their own reference so it's not possible to have pending tasks at the point either.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170103/afbab106/attachment.html>

More information about the webkit-unassigned mailing list