commit | e36f1e4ba3177efa1509c38179465a54416c278c | [log] [tgz] |
---|---|---|
author | Corey Tabaka <eieio@google.com> | Thu Jul 06 15:39:49 2017 -0700 |
committer | Corey Tabaka <eieio@google.com> | Thu Jul 06 16:41:43 2017 -0700 |
tree | f7d15e1136e35bfd81f174293a35af964c93a0bf | |
parent | a36bf92663256f1c8d2956902daf0f1045961953 [diff] |
Fix concurrent access bug in VrFlinger. VR surface queues have erroneous concurrent access from two threads because of misplaced lock guards. Move the locking to cover the queue accesses. Bug: 62886596 Bug: 63149525 Test: Extensive logging shows that buffers are accessed in the correct order and that the consistency of the queues is now maintained. Change-Id: I649e3d75a2230cf3aff50886df9958917d3aa4bf