commit | ccfaba8897ac1020d4ad0fe20b35b46dd0e8216a | [log] [tgz] |
---|---|---|
author | Max Morin <maxmorin@chromium.org> | Wed Feb 21 10:25:11 2018 |
committer | Max Morin <maxmorin@chromium.org> | Wed Feb 21 10:25:11 2018 |
tree | 0c5899caae9bb0a2cbd93fbf908c9981589923d9 | |
parent | 4ac90930492bd8b71f56796f78c63e21faf7e45e [diff] |
[M65] Add sleep fallback to base::SpinLock. This avoids a situation where a thread of lesser priority is holding the lock while a bunch of higher priority threads hog all CPU spinning, preventing the lesser priority thread from releasing the lock. Bug: 758695, 770312 Change-Id: Ibf36f16023069e32f3f55716a2b63e47fff0d9f7 Reviewed-on: https://chromium-review.googlesource.com/873647 Commit-Queue: Max Morin <maxmorin@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Chris Palmer <palmer@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#530835}(cherry picked from commit da57669f62bed877ec39dd5847470592109cb405) Reviewed-on: https://chromium-review.googlesource.com/928481 Reviewed-by: Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/branch-heads/3325@{#529} Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .