[Webkit-unassigned] [Bug 195656] Add a thread safety assertion for RefCounted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 17:40:33 PDT 2019


--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org> ---
Note that it's technically correct to create an object in one thread, pass it to another thread if the new thread has an exclusive ownership / access right. However, such a code is error prone so I'd argue that we shouldn't have such a code without such code using ThreadSafeRefCounted instead.

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/20190313/4d6a86b0/attachment.html>

More information about the webkit-unassigned mailing list