Bug 246305 - Add SerialFunctionDispatcher interface
Summary: Add SerialFunctionDispatcher interface
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks: 244825
  Show dependency treegraph
 
Reported: 2022-10-10 16:02 PDT by Matt Woodrow
Modified: 2022-10-21 12:42 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2022-10-10 16:02:11 PDT
For bug 244825 (supporting IPC::Connection on other threads), we need a way to reference an object that is either the main RunLoop, or a WorkerOrWorkletThread.

This adds 'SerialFunctionDispatcher', a stronger version of 'FunctionDispatcher' that guarantees that Functions will be executed serially.
Comment 1 Radar WebKit Bug Importer 2022-10-10 16:02:30 PDT
<rdar://problem/101002156>
Comment 2 Matt Woodrow 2022-10-10 17:03:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5214
Comment 3 EWS 2022-10-21 12:42:44 PDT
Committed 255844@main (88975f1a7664): <https://commits.webkit.org/255844@main>

Reviewed commits have been landed. Closing PR #5214 and removing active labels.