[Webkit-unassigned] [Bug 266199] New: [WTF] Distinguish SerialFunctionDispatcher that are refcounted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 10 17:20:34 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266199
Bug ID: 266199
Summary: [WTF] Distinguish SerialFunctionDispatcher that are
refcounted
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jean-yves.avenard at apple.com
Right now, SerialFunctionDispatcher is designed to have an explicit lifetime.
All SerialFunctionDispatcher but one are currently ref counted.
We need to be able to easily determine if a SerialFunctionDispatcher is refounted by having a RefCountedSerialFunctionDispatcher
This change isn't aimed at resolving the SerialFunctionDispatcher API contact, which is there's no guarantee currently that the dispatched runnable will actually be run and that the SerialFunctionDispatcher got shutdown.
RefCountedSerialFunctionDispatcher is just about enforcing the lifetime of the object, not the lifetime of the API contract.
--
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/20231211/9841ce46/attachment.htm>
More information about the webkit-unassigned
mailing list