diff options
| author | 2011-05-03 16:21:41 -0700 | |
|---|---|---|
| committer | 2011-05-03 16:21:41 -0700 | |
| commit | 4f113740180b6512b43723c4728f262882dc9b45 (patch) | |
| tree | a0a71ffb48dbe6daee69d6c4e906be2103303b52 /opengl/libagl/TextureObjectManager.cpp | |
| parent | 1c52ae3b726efee0af2c4bc9ad9b2bbc8236de92 (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.
Change-Id: Ib1317d7750ed5030e6f577efe34b69fc10198bd3
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions