[policy] Boost thread priority while loading netapi32.dll
On issue 1082862 I noticed that the function IsDomainJoined() is holding the library loader lock from a background thread while a number of other threads are trying to load libraries and have gotten stuck. This macro temporarily boosts the priority of the background thread in order to prevent this kind of jank. Bug: 973868 Change-Id: Ife748cc7d42fa50525e6ddc5edf4ef95d23f10d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203234 Auto-Submit: Reilly Grant <reillyg@chromium.org> Commit-Queue: Pavol Marko <pmarko@chromium.org> Reviewed-by:Pavol Marko <pmarko@chromium.org> Cr-Commit-Position: refs/heads/master@{#769900}
Showing
Please register or sign in to comment