diff options
| author | 2020-05-27 15:50:50 -0700 | |
|---|---|---|
| committer | 2020-06-05 07:50:52 -0700 | |
| commit | 5c18c1cf64640266ee5cbad00ac9b22be8beb6a5 (patch) | |
| tree | b1de30c7d243acc62c959c62e24805b756e5c150 /opengl/libagl/TextureObjectManager.cpp | |
| parent | c43da98656bbf1944991b5d3fa415e2a8f2c966c (diff) | |
SF: avoid updating queue if schedule() is called.
Avoids a rarish race condition where a callback is scheduled in the
interim time between the TimerDispatch starting to run and the callback
for that scheduled callback is invoked. In this condition, the code will
now have the next callback pend until the timer queue processes the when
to wakeup next.
Bug: 154303580
Test: 3 new unit tests
Test: boot to home, check some animations
Test: overnight dogfood with patch.
Change-Id: I0e7e2e3698ed6d1765082db20d9cf25f6e6c2db2
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions