commit | 19cd146ac0f8b13c811ef476a48ece9d9b87e285 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Oct 01 15:32:33 2021 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Fri Feb 04 22:57:06 2022 +0000 |
tree | 1cacdc15879e494f5e818bdcb8b8439082659245 | |
parent | 415611420c90688c27da9eaf1e57b592be82d754 [diff] |
BlastBufferQueue: Fix async worker deadlock The async onBufferReleased callback can trigger another onBufferReleased which will end up deadlocking the async worker thread. Fix this by executing the callbacks outside the lock. Test: atest android.media.cts.MediaSyncTest#testPlaybackRateDouble --rerun-util-failure 100 Bug: 201604213 Change-Id: I40d163c3644c6a0128936cf41e8bf8969766d9da Merged-In: I40d163c3644c6a0128936cf41e8bf8969766d9da