commit | 990640740bbdecd1b4a7ba58612f72d43866b1aa | [log] [tgz] |
---|---|---|
author | Zhibo Wang <zhibo1.wang@intel.com> | Sun Jun 12 20:06:24 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Jun 12 20:06:24 2022 |
tree | bceb2ac940b740c921806349d18c1b85bd20be91 | |
parent | 664df7ac214af2f88a6ee61cc0820de2c018db0e [diff] |
Create base::ScopedBoostPriority 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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.