Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bluetooth] Boost priority while calling WSALookupService*()
These functions may cause DLLs to be loaded for socket providers in the process of enumerating device services. This macro temporarily boosts this background thread's priority in order to avoid a priority inversion where the main thread (and others) hang while this low priority thread holds the dynamic library loader lock. Observed this hang in crash/08cf98f7a1b73d12. Bug: 973868 Change-Id: Ibb80c37c735471958f7b41460831aad2891ccf78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212671 Commit-Queue: Reilly Grant <[email protected]> Commit-Queue: Ovidio de Jesús Ruiz-Henríquez <[email protected]> Auto-Submit: Reilly Grant <[email protected]> Reviewed-by: Ovidio de Jesús Ruiz-Henríquez <[email protected]> Cr-Commit-Position: refs/heads/master@{#771181}
- Loading branch information