commit | 382ea6e97dcf4a33e98359e92ae7a1bb44ca512a | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 12 14:31:15 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 22 15:57:08 2016 -0800 |
tree | 7083bed3c036f01f16c80da7baec717914258734 | |
parent | 0f80e09962d6c00d63f7d5a7986f180616b2d7fb [diff] |
adb: make adb_thread_func_t return void, add adb_thread_exit. Windows restricts the return value of threads to 32-bits, even on 64-bit platforms. Since we don't actually return meaningful values from thread, resolve this inconsistency with POSIX by making adb's thread abstraction only take void functions. Change-Id: I5c23b4432314f13bf16d606fd5e6b6b7b6ef98b5 (cherry picked from commit 7d40525cb2e6ab7bc1c2dd940dcb7418701e46e3)