[Webkit-unassigned] [Bug 238871] Multiple uses of ThreadSafeRefCounted and CanMakeWeakPtr with non-thread-safe WeakPtr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 7 23:11:00 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238871
Fujii Hironori <Hironori.Fujii at sony.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Hironori.Fujii at sony.com
--- Comment #9 from Fujii Hironori <Hironori.Fujii at sony.com> ---
It'd be nine if we have thread-safe weak pointer.
std::weak_ptr is thread-safe. std::weak_ptr<T>::lock returns std::shared_ptr<T>.
https://en.cppreference.com/w/cpp/memory/weak_ptr/lock
--
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/20220408/b855f945/attachment.htm>
More information about the webkit-unassigned
mailing list