diff options
author | Mark Salyzyn <salyzyn@google.com> | 2020-05-14 09:20:30 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2020-05-19 13:25:07 -0700 |
commit | 61de0d226d9455ca4ea71b838881d916c8fd2f03 (patch) | |
tree | c6e5c2c9f63e6d27b5a4402157e1b447b13913e9 /libutils/FileMap.cpp | |
parent | 9113e7be9556d002e84c08bb5ed1aa7dd1bcf618 (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/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions