commit | 4c2193bc963fd278029516978c16eb60f1e6416e | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Nov 12 12:38:59 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Nov 12 20:54:39 2018 -0800 |
tree | c874d2ab4c9a3f8ca3d479ffc87ef5e7f24b2fb4 | |
parent | 222be41800e2fe344b523d7b7f820f290e37d931 [diff] |
adb: fix NonblockingFdConnection's behavior with large writes. Large opportunistic writes would perform a write without updating writable_ or waking up the polling thread, which resulted in the worker thread never polling with POLLOUT. Test: adb_benchmark Change-Id: Ifed3b97a4b647b539dcd2df858572fa7da9a22d0