[Webkit-unassigned] [Bug 217183] [iOS 14] Hang in -[WKUserDefaults _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 14 06:53:17 PDT 2020


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

--- Comment #20 from Per Arne Vollan <pvollan at apple.com> ---
(In reply to Darin Adler from comment #18)
> (In reply to Per Arne Vollan from comment #17)
> > This is to avoid extra thread hopping if the method is already being called
> > on a non-main thread.
> 
> But *why* is avoiding extra thread hopping a good thing? Is there some
> reason that non-main threads are always OK to block?

Ah, I see now, that's a good point. For local preference changes, this method will be called on the thread which made the change, and it would be good to avoid blocking that thread as well. I have uploaded a new patch which removes this piece of code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201014/b82c1560/attachment.htm>


More information about the webkit-unassigned mailing list