summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Martijn Coenen <maco@google.com> 2023-10-13 12:36:08 +0000
committer Martijn Coenen <maco@google.com> 2023-10-24 07:21:31 +0000
commit33fdb78a8e93b26279743d0ee2232d32ec37e97d (patch)
treef24414d0c334081c7922416e9ff62e13f291a80a /libs/androidfw/ResourceTimer.cpp
parent67890dbee5f9d2cab296fd2037fc69034b6a5d50 (diff)
BlobStore: use a separate thread for RevocableFd in system_server.
Having the callbacks on RevocableFileDescriptor coming in on the main thread of system_server can create problems: - system_server's main thread is heavily contended - it can cause deadlocks: callbacks come in from vold with vold's global lock held; this callback needs the system_server main thread to make progress. But if the main thread is busy with another call into vold (unrelated to RevocableFd), this will result in deadlock. Bug: 300351508 Test: atest BlobStoreManagerTest Change-Id: Ie4c3c65bdb9303f4aaab8f76b95d3f9f133b4c3e
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions