diff options
| author | 2014-09-09 13:10:49 -0700 | |
|---|---|---|
| committer | 2014-09-09 13:10:49 -0700 | |
| commit | 89d4949f86f4f7b6710e951afefad186c667fd6e (patch) | |
| tree | 6380622f01b2484ea8a827a3becd3b33725eb6d1 /libs/ui/FramebufferNativeWindow.cpp | |
| parent | 7eff26a02aeb35d6c48e1af8d9bebcc838ad1fd2 (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
Change-Id: Ib383329f9db269445d71a100553b08e71fddda3f
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions