Bug 229171
| Summary: | Add a thread safe version of WeakPtr | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 229168 | ||
| Bug Blocks: | |||
Ryosuke Niwa
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
Strongly +1!
Radar WebKit Bug Importer
<rdar://problem/82268516>