summaryrefslogtreecommitdiffstats
path: root/cpio/Android.mk
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-01-04 11:58:04 -0800
committerAlex Ray <aray@google.com>2013-07-30 13:56:55 -0700
commitfe2c46327ff4bf5639d1634261797456a06d6ac4 (patch)
treedd979eded564feacf06ffa9fb49d74e209e21146 /cpio/Android.mk
parentb69f49bab9502ddb0850280f2aea12fb34475777 (diff)
downloadsystem_core-fe2c46327ff4bf5639d1634261797456a06d6ac4.zip
system_core-fe2c46327ff4bf5639d1634261797456a06d6ac4.tar.gz
system_core-fe2c46327ff4bf5639d1634261797456a06d6ac4.tar.bz2
Fix issue 3302649.
The cause of the problem is that AudioTrack::start() can fail if it is called from a newly created thread that has the same ID as the AudioTrack callback thread that has just been stopped and not yet exited. This is possible as the thread ID used by the Thread class is not the TID. The fix consists in clearing the thread ID before exiting the thread loop. Change-Id: I66e679665c384403cb3ba2c31746f5de72d5836d
Diffstat (limited to 'cpio/Android.mk')
0 files changed, 0 insertions, 0 deletions