summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2016-04-19 10:03:46 -0700
committer Dan Stoza <stoza@google.com> 2016-04-19 10:03:46 -0700
commit8f8374d75ab17be5d168fea14d3f8e2a40ca3c66 (patch)
tree056a1bd07580255d0cbd0f949e98ea3eb6f3d230 /libs/gui/ConsumerBase.cpp
parent6328134d8f3969e5cf345bec84b2c6455afc6a34 (diff)
DispSync: Actually wait forever
When computeNextEventTimeLocked returns INT64_MAX (because there are currently no listeners), wait until the condition variable is signaled instead of waiting for a long timeout. Since the condition variable timeout is specified using CLOCK_REALTIME behind the scenes, we can receive false wakeups in the presence of large system clock changes. Bug: 28152577 Change-Id: I88dbab5d5d0776cb25dea76a4574db055b308fd1
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions