diff options
author | Eric Laurent <elaurent@google.com> | 2010-11-16 14:41:34 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-11-16 18:53:46 -0800 |
commit | fbe5f5cb1752b74c97918c2c764cc997fac00472 (patch) | |
tree | e2b6220e14e1473856c036af456b155940507c47 /device.mk | |
parent | 4955afc4d96eee4de050df7e6f3e8ee389f279bc (diff) | |
download | device_samsung_crespo-fbe5f5cb1752b74c97918c2c764cc997fac00472.zip device_samsung_crespo-fbe5f5cb1752b74c97918c2c764cc997fac00472.tar.gz device_samsung_crespo-fbe5f5cb1752b74c97918c2c764cc997fac00472.tar.bz2 |
Fix issue 3201189
The issue comes from the fact that acquiring a mutex can take upto several
seconds if the acquisition is attempted by a low priority thread and a high priority
thread is frequently acquiring and releasing the same mutex.
This happens when setMode() tries to lock the output stream mutex while playback is active.
The fix is more a workaround consisting in boosting the priority of the thread executing
setMode() until the mutex is acquired.
Change-Id: I0921c215759dcd86d6ffb03669b5f94691878ffb
Diffstat (limited to 'device.mk')
0 files changed, 0 insertions, 0 deletions