summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-05-03 16:21:41 -0700
committerMathias Agopian <mathias@google.com>2011-05-23 16:12:02 -0700
commita725ccda9e0e9aec80f9f0b1a63d94d46a13c4b4 (patch)
treeb3cdee9690b7b4556d6b120692a4c673cdae3a60 /tools/aidl/generate_java.cpp
parent4e4ad34159dc1c720a3e6145bb9f14c60fb1a3f7 (diff)
Fix a race-condtion in SurfaceFlinger that could lead to a crash.
Client::mLayers could be accessed from different threads. On one side from Client::attachLayer() which is currently called from a binder thread; on the other side from Client::detachLayer() which is always called from the main thread. This could lead to a corruption of Client::mLayers. We fix this issue by adding an internal lock to Client. Bug: 4483046 Change-Id: I5262bf1124d9a65ec6f8ffd8e367356fc33a7536
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions