diff options
author | Andreas Gampe <agampe@google.com> | 2018-03-20 09:40:12 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-03-20 11:09:46 -0700 |
commit | 56f68caff62f404cff5491b3e84e3d031781db32 (patch) | |
tree | e47c59c3f7fb0165213470b1abdef4d56fc3bd28 /boottime_tools/bootio/bootio_collector.cpp | |
parent | d811b027242d89b8688a851ed33286cbe1853539 (diff) | |
download | extras-56f68caff62f404cff5491b3e84e3d031781db32.tar.gz |
Timetest: Clean up
Clean up the code a little.
The removed TEMP_FAILURE_RETRY is actually wrong. The others are either
superfluous or needed.
Be more direct with error returns.
For EBUSY, loop at most ten times, with sleep.
Use unique_fd for descriptor tracking/close.
(cherry picked from commit e4944b10a24c39d9aaba7e1093d91438ddf90d09)
Bug: 76008092
Test: atest time-unit-tests
Merged-In: Id7176e0237a416a4bb19d72c47b8e1a2f6b57ca5
Change-Id: Id7176e0237a416a4bb19d72c47b8e1a2f6b57ca5
Diffstat (limited to 'boottime_tools/bootio/bootio_collector.cpp')
0 files changed, 0 insertions, 0 deletions