diff options
author | 2017-11-16 15:41:45 -0800 | |
---|---|---|
committer | 2017-12-08 14:08:16 -0800 | |
commit | 96ad8222f300c4dd918a15192a8a9c1c4c6fd834 (patch) | |
tree | a24e3f47b2a847a712bcced05e6304cf835fa3cb /libs/gui/ConsumerBase.cpp | |
parent | 7e7256ee0955cb3b93fe40efd4e7627e5a549210 (diff) |
libgui: fix a race in CpuConsumer::lockNextBuffer
mCurrentLockedBuffers must be accessed with the mutex. Constify
mMaxLockedBuffers as well for clarity.
Test: libgui_test
Change-Id: I7c40d135bcf2aa6a90ecff74d6d8107fc530e815
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions