summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-08-04 09:45:33 -0700
committerEric Laurent <elaurent@google.com>2009-08-07 09:28:40 -0700
commit3464c015ad2fb6e95525b294614217e5c5607013 (patch)
tree4ef4fcb66b2eada23b8a12f561573ffff5599e8e /opengl/tests/gl_basic/gl_basic.cpp
parent119ed307eaa1f2fddc3606ba0342acbf0e501a71 (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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions