diff options
author | Mark Salyzyn <salyzyn@google.com> | 2020-05-14 09:20:30 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2020-05-15 01:18:24 +0000 |
commit | ffa52e9c6f8b37e8a9430c66ef117a07c43c797e (patch) | |
tree | a9625cbf25f66cfb6331982535be4d5bd2369b14 /libutils/Unicode.cpp | |
parent | fa8bf5be4e55e0d701222b28c5fa52b07149131d (diff) |
init: support wait timeout with more precision
A one second timeout is so coarse and can affect boot time when
the possibility that the file does not exist. Switch to accepting
a floating point number for seconds for the wait for file command.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 151950334
Test: wait_for_file sleep 0.05 reports an appropriate delay
Change-Id: I8d8ed386519ab54270b05ce91663d0add30f12e7
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions