Bug 246305

Summary: Add SerialFunctionDispatcher interface
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: PlatformAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 244825    

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.