forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mojo: Introduce [NoInterrupt] attribute
GpuChannelHost uses its own custom sync waiting logic for the few sync IPCs it sends. The key (and intentional) difference is that -- unlike legacy and Mojo sync IPC -- it doesn't allow for wake-ups to dispatch other incoming sync messages on the waiting thread. This adds mojom support for a [NoInterrupt] attribute on [Sync] messages to convey that such messages should employ the same behavior, effectively only waking up for the caller's expected reply, or for other sync messages *on the same pipe only* (which in practice is much easier to control for, generally unlikely to be used, and not relevant to the GPU case.) Bug: 1196476 Change-Id: Ib14197cd7107d3c9388124d436e0548a350b599c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2815833 Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#874450}
- Loading branch information
Showing
13 changed files
with
443 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.