summaryrefslogtreecommitdiff
path: root/boottime_tools/bootio/bootio_collector.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-03-20 09:40:12 -0700
committerAndreas Gampe <agampe@google.com>2018-03-20 11:09:46 -0700
commit56f68caff62f404cff5491b3e84e3d031781db32 (patch)
treee47c59c3f7fb0165213470b1abdef4d56fc3bd28 /boottime_tools/bootio/bootio_collector.cpp
parentd811b027242d89b8688a851ed33286cbe1853539 (diff)
downloadextras-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