Boost thread priority while loading COMBase
This CL is boosting the thread priority to avoid loading the DLL at background priority. The following stackframe is the cause of the priority inversion: base::win::RoGetActivationFactory device::BluetoothAdapterWinrt::PerformSlowInitTasks() [...] base::internal::WorkerThread::RunWorker() base::internal::WorkerThread::RunBackgroundPooledWorker see: https://bugs.chromium.org/p/chromium/issues/detail?id=973868#c42 Noticed in crash/bc6506f76abf6a60 R=joenotcharles@chromium.org,robliao@chromium.org Bug: 973868 Change-Id: Ifbe2b87aed7364ad24a59ad300512ef82c03491a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377891Reviewed-by:Joe Mason <joenotcharles@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#802021}
Showing
Please register or sign in to comment