summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2009-08-04 09:45:33 -0700
committer Eric Laurent <elaurent@google.com> 2009-08-07 09:28:40 -0700
commit8fce46a2b3e93879ae372cf07232451736c5ea7e (patch)
tree78abb1d0b3e3f93f12866f703699a53a9a8a4d7e /libs/ui/FramebufferNativeWindow.cpp
parent1420bf3ec6008d0823e76cc4f615f509af4e87ed (diff)
Fix lockup in audio flinger threadbase setParameters.
The function checkForNewParameters_l() is called with the ThreadBase mutex mLock locked. In the case where the parameter change implies an audio parameter modification (e.g. sampling rate) the function sendConfigEvent() is called which tries to lock mLock creating a deadlock. The fix consists in creating a function equivalent to sendConfigEvent() that must be called with mLock locked and does not lock mLock. Also added the possibility to have more than one set parameter request pending.
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions