adb: sysdeps: add support for joining threads.

Bug: http://b/27105824
Change-Id: I44e4edbb2a59565c35f1f3e6a6394ac258591f95
3 files changed