[webkit-changes] [WebKit/WebKit] 4ba481: Allow creating IPC::Connection with a SerialFuncti...

mattwoodrow noreply at github.com
Sat Oct 22 02:06:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ba481e2960272016ebb1bd6f6132a08a6f8eb67
      https://github.com/WebKit/WebKit/commit/4ba481e2960272016ebb1bd6f6132a08a6f8eb67
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M Source/WebKit/Platform/IPC/Connection.cpp
    M Source/WebKit/Platform/IPC/Connection.h

  Log Message:
  -----------
  Allow creating IPC::Connection with a SerialFunctionDispatcher other than the main RunLoop.
https://bugs.webkit.org/show_bug.cgi?id=244825

Reviewed by Dean Jackson.

* Source/WebKit/Platform/IPC/Connection.cpp:
(IPC::Connection::SyncMessageStateImpl::enqueueMatchingMessages):
(IPC::Connection::SyncMessageStateImpl::processIncomingMessage):
(IPC::Connection::SyncMessageStateImpl::dispatchMessages):
(IPC::Connection::SyncMessageStateImpl::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection):
(IPC::Connection::createServerConnection):
(IPC::Connection::Connection):
(IPC::Connection::~Connection):
(IPC::Connection::connection):
(IPC::Connection::enqueueMatchingMessagesToMessageReceiveQueue):
(IPC::Connection::invalidate):
(IPC::Connection::waitForMessage):
(IPC::Connection::sendSyncMessage):
(IPC::Connection::processIncomingMessage):
(IPC::Connection::enableIncomingMessagesThrottling):
(IPC::Connection::connectionDidClose):
(IPC::Connection::dispatchSyncMessage):
(IPC::Connection::dispatchDidReceiveInvalidMessage):
(IPC::Connection::enqueueIncomingMessage):
(IPC::Connection::dispatchMessage):
(IPC::Connection::dispatchIncomingMessages):
(IPC::Connection::wakeUpRunLoop):
* Source/WebKit/Platform/IPC/Connection.h:
(IPC::Connection::sendSync):
(IPC::Connection::waitForAndDispatchImmediately):
(IPC::Connection::waitForAsyncCallbackAndDispatchImmediately):

Canonical link: https://commits.webkit.org/255868@main




More information about the webkit-changes mailing list