diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2017-04-13 08:19:52 -0700 | 
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2017-04-13 13:16:59 -0700 | 
| commit | 7ecfd6ac10957ff392dda713e983cb6b09b2b203 (patch) | |
| tree | ab2c8fdb9d1c08a688ae35bfc484912b2ad467e1 /libcutils/socket_local_server_unix.cpp | |
| parent | fc500ddb5284d309fee3b26cd13be15784e23d1c (diff) | |
liblog: android_log_event_list class permit -EBUSY retry
write() method was one-shot, a second shot on -EBUSY would always
return -EBUSY even if successful.  Reset internal error if -EBUSY
when retransmitting.  write() now reports a positive count for
transmission success.  Composition errors trump transmission errors.
Test: gTest logcat-unit-tests --gtest_filter=*.descriptive while
      under heavy DOS stress levels of logging.
Bug: 31456426
Change-Id: Ib1920c3f10cf1df8ad8eb6a884724794b577b29d
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
