summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorSoonil Nagarkar <sooniln@google.com>2020-03-02 15:17:04 -0800
committerSoonil Nagarkar <sooniln@google.com>2020-03-02 16:42:20 -0800
commit5df43c11e5fbbd665496fa2a5b5d077d7024f8b9 (patch)
tree3490a22df43894d11c9213dd29478bd612691357 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parenta903ed0d7add0b625c5f1c30cdbb28c5472c0a1c (diff)
Quick fix for possible deadlock in LMS
LMS dispatches in-process location events while holding locks, which can lead to deadlock if combined with another lock. This went from a possibility to a definitive deadlock with the introduction of the getCurrentLocation cancel() API. This fix prevents that deadlock by not holding a lock while canceling. It is still technically possible for other components to introduce deadlock by using their own locks within the system process, but as there are very few location clients inside the system server, and none of them appear to be at risk right now, a complete fix is delayed until S. Bug: 149780283 Test: presubmits Change-Id: I9d202adc65380881969d276c470ef1bf52828e82
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions