diff options
author | Alec Mouri <alecmouri@google.com> | 2021-08-19 16:52:34 -0700 |
---|---|---|
committer | Ady Abraham <adyabr@google.com> | 2021-08-31 21:22:57 +0000 |
commit | 5c8b18c90806307939fd44c57855621ab004af8a (patch) | |
tree | eb969890954c4a049b3967c87b5c3748fee1a376 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 66a59c3ebfa3572f11758731cda7296541767b5e (diff) |
Use a separate mutex for BLASTBufferQueue in BLASTBufferItemConsumer
Avoids the following deadlock...
Thread 1:
* BLASTBufferQueue::transactionCallback acquires
BLASTBufferQueue::mMutex
* BLASTBufferItemConsumer::updateFrameTimestamps waits to
acquire BLASTBufferItemConsumer::mMutex
Thread 2:
* BLASTBufferItemConsumer::onSidebandStreamChanged acquires
BLASTBufferItemConsumer::mMutex
* BLASTBufferQueue::setSidebandStream tries to acquire
BLASTBufferQueue::mMutex
Bug: 192998815
Test: Both CTS Media and Mediav2 (by partner)
Change-Id: I37523031841db3f1a29481bbfa76d6c028a6942e
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions