0
Files
src/ipc
François Doray fad1b8bc2e [mojo] Use RunOrPostTask to send message on channel-assoc. interface.
RunOrPostTask provides the same ordering and mutual exclusion
guarantees as PostTask, but it may run its callback synchronously.
to reduce scheduling overhead. It's appropriate for short tasks (since
the task runs synchronously, the RunOrPostTask call may take as long
as running the callback).

The change is behind a base::Feature
("MojoChannelAssociatedSendUsesRunOrPostTask") to allow measuring its
impact or disabling it completely in case problems are found.

Bug: 1503967
Change-Id: I226032e3771741b674bb9b97cdfa635d76e3addf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5063755
Reviewed-by: Ken Rockot <rockot@google.com>
Commit-Queue: Francois Pierre Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243073}
2024-01-04 20:22:53 +00:00
..