WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
229171
Add a thread safe version of WeakPtr
https://bugs.webkit.org/show_bug.cgi?id=229171
Summary
Add a thread safe version of WeakPtr
Ryosuke Niwa
Reported
2021-08-16 17:06:52 PDT
We need a thread safe version of WeakPtr. It's not sufficient to make CanMakeThreadSafe thread safe for WeakPtr since the object can be destructed as we grab the value out of WeakPtr. Add a mechanism to safely create RefPtr or CheckedPtr out of them.
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2021-08-16 17:16:24 PDT
Strongly +1!
Radar WebKit Bug Importer
Comment 2
2021-08-23 17:07:23 PDT
<
rdar://problem/82268516
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug