commit | 6082e7dafb335b558f7347da24bb849ae32d8406 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Apr 05 16:16:04 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue Jun 12 17:04:34 2018 -0700 |
tree | 157eece4369beae6f85ba06a835ae81555898f29 | |
parent | e5aa7ee753f88903b0506b542b629bbd54ef5092 [diff] |
adb: add nonblocking fd Connection. Implement a nonblocking version of FdConnection. The initial implementation will be somewhat slower than the blocking one for large packet sizes, due to an extra copy when coalescing an IOVector into an apacket, but is still substantially faster for small packets. Test: adb_benchmark Change-Id: I4900c9ddf685d3bd557b8cb43958452ecb23db53