summaryrefslogtreecommitdiff
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorVince Harron <vharron@google.com>2014-09-25 21:51:15 -0700
committerVince Harron <vharron@google.com>2014-09-25 21:51:15 -0700
commitaf436b1e10bed3b89880b3bd4f3031ea14057def (patch)
tree9684b2ece65ad646c01b75154b1057e15979d2f3 /libutils/FileMap.cpp
parent8dd3ea58fdd99912f631156c37bcb2555ce8aec3 (diff)
fix for adbd pinning CPU
adbd was spinning between select & read (0 bytes) for an adb_auth socket. The read documentation states: "On success, the number of bytes read is returned (zero indicates end of file)" so the code has been modified to close the connection (like the read error case). BUG=17419868 Change-Id: I1d8fb70c8e1876225ba8d47ea0a2b6265a7d182b
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions