commit | a544bb4ff71a16868f3b84db294b5a7347a5bff9 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Mar 29 16:27:13 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Mar 30 14:57:09 2018 -0700 |
tree | 46532d21c37aeddfa58f7158b72454c3d585347a | |
parent | 6c392c7642e1cb3ecb8bbce1ebb4cb2ee478f205 [diff] |
adb: move ownership of the fdevent thread into FdeventTest. Previously, each of the tests was spawning the fdevent thread manually, in order to be able to set up listeners and such before running fdevent_loop. Now that we have a way to run arbitrary code on the fdevent thread, switch to having a generic fdevent thread and running setup code via fdevent_run_on_main_thread. Test: adb_test Test: wine adb_test.exe Change-Id: I517dbcbad31067b45087d9fbed67a75b75a75aec