[Webkit-unassigned] [Bug 195605] makeWeakPtr isn't thread-safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 11:28:29 PDT 2019


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

--- Comment #7 from Alex Christensen <achristensen at apple.com> ---
Should we then make WeakReference RefCounted instead of ThreadSafeRefCounted and add assertions that WeakPtrs are made, used, and destroyed on the same thread?  Those both sound like improvements to me.  We'll need the move constructor to be able to be called from any thread for cases where we hop to a different thread then back.

-- 
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/20190312/ed999150/attachment-0001.html>


More information about the webkit-unassigned mailing list