diff options
| author | Josh Gao <jmgao@google.com> | 2018-02-16 13:24:58 -0800 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2018-03-05 13:00:28 -0800 |
| commit | 0bbf69cbbf5359846ae577da53679ebba2961386 (patch) | |
| tree | 898b66b9dade71bac5ce9c28e3c0d9b4972eb9db /libutils/Unicode.cpp | |
| parent | c7567fa52efe99a972c7c69a13949e0c9080b619 (diff) | |
adb: convert Connection to a nonblocking interface.
Rename the existing Connection to BlockingConnection, add a nonblocking
Connection, and add an adapter between the two, to enable future work
to reduce the impedance mismatch from implementing a blocking interface
on top of nonblocking primitives.
While we're here, delete A_SYNC, and remove one layer of pipes when
sending a packet (replacing it with a condition variable when using
BlockingConnectionAdapter).
Test: python test_device.py, manually plugging/unplugging devices
Change-Id: Ieac2bf937471d9d494075575f07e53b589aba20a
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
