OSDN Git Service

Fix NanoSleep and add test
authorMathieu Chartier <mathieuc@google.com>
Mon, 4 May 2015 16:53:43 +0000 (09:53 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 4 May 2015 17:03:41 +0000 (10:03 -0700)
commit46578a4a3bf235fde35ed80c6e6cbe8fb5f06b48
treef7ac3fcc1c55b52527fce0cc4d17c60e8547f09c
parent414369a2e3f23e1408fc1cbf4f623014bd95cb8f
Fix NanoSleep and add test

Fixed a bug where tv_nsec was't between 0 and 999,999,999.

(cherry picked from commit 0b063d9ba7a11779667c0888e9f3495de0118b74)

Bug: 14450052
Change-Id: I30b29a716bfa63c6b57d589dd1102d2ca934c061
runtime/utils.cc
runtime/utils_test.cc