summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceTextureClient.cpp
diff options
context:
space:
mode:
author Andreas Huber <andih@google.com> 2011-09-02 09:34:51 -0700
committer Andreas Huber <andih@google.com> 2011-09-02 09:34:51 -0700
commit69a5f6c3e04aa0f3f87eed7578a32782c97bd48f (patch)
treefcc1b2a716ba3525a96c12354e2e3ea7996b1c83 /libs/gui/SurfaceTextureClient.cpp
parentbffb83e96c2f3d01bf42490737201ab4de79c91b (diff)
Properly serialize access to FileSource::getSize by acquiring the mutex
Both ::getSize and ::read call into lseek64, if this happens simultaneously from multiple threads the results are undefined if not properly serialized. Change-Id: I737cafebd836f3d8eb702beac557b4731f69c6f6 related-to-bug: 5196490
Diffstat (limited to 'libs/gui/SurfaceTextureClient.cpp')
0 files changed, 0 insertions, 0 deletions