summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Christopher Ferris <cferris@google.com> 2014-09-09 13:10:49 -0700
committer Christopher Ferris <cferris@google.com> 2014-09-09 13:36:52 -0700
commite2c86c71c2a214f6a8bd3335616a58484919dcb1 (patch)
tree7adb52da1d985a9e468b0801b51bc4e65526376e /libs/ui/FramebufferNativeWindow.cpp
parent86aeb9ef154d7aa63c58cbe5be62e5b61d6ae5fa (diff)
Use time() instead of clock() for timeouts.
The clock() function returns the processor time used by the process. This is not a good timeout mechanism since the code is suspended most of the time waiting for the forked process to finish. Replace with the time() function. Bug: 17154069 (cherry picked from commit 89d4949f86f4f7b6710e951afefad186c667fd6e) Change-Id: I42f0f24ee53ef99955fd482a1089e39d491f3bd5
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions