OSDN Git Service

Only log excessive timeouts if those appear accidental
authorHans Boehm <hboehm@google.com>
Mon, 28 Mar 2016 21:36:23 +0000 (14:36 -0700)
committerHans Boehm <hboehm@google.com>
Thu, 31 Mar 2016 17:44:51 +0000 (10:44 -0700)
commit05488e1cc2ac9475143f5be70e76f3e0bbddafc9
treedf76ae4dc62d204d9db92f3adb797af694597dcf
parentcbb3251dc8f906c33c884380548c24ecd90a7d94
Only log excessive timeouts if those appear accidental

Do not generate a log message even when timeout would cause us to wake
up past the end of Linux time, if the timeout specification looks like
it was meant to wait forever.  Avoids log spam.

Bug: 27723547
Change-Id: I98d0fc1b1813a10ad906282957675b85bd933472
(cherry picked from commit fe76a629e7f9932c8e6a476d25358445273d893d)
runtime/base/time_utils.cc