summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-10-01 15:32:33 -0700
committer Vishnu Nair <vishnun@google.com> 2022-02-04 22:57:06 +0000
commit19cd146ac0f8b13c811ef476a48ece9d9b87e285 (patch)
tree1cacdc15879e494f5e818bdcb8b8439082659245 /vulkan/libvulkan/api.cpp
parent415611420c90688c27da9eaf1e57b592be82d754 (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
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions