forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch provides with a base::ScopedBoostPriority class for temporarily boosting thread priority. The original thread priority will be set back again when the object is destructed. This fixes a bug where the priority was boosted even when the platform was unable to undo the operation. This might as a side-effect keep threads at NORMAL priority that were previously unintentionally permanently boosted to DISPLAY priority. Fixed: 1335489 Change-Id: I6a58f5b4c5a7dace86bd7788f6ceca7ecb9baeb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3699224 Reviewed-by: Gabriel Charette <gab@chromium.org> Commit-Queue: Zhibo Wang <zhibo1.wang@intel.com> Cr-Commit-Position: refs/heads/main@{#1013320}
- Loading branch information
1 parent
664df7a
commit 9906407
Showing
7 changed files
with
111 additions
and
36 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
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