commit | 7d40525cb2e6ab7bc1c2dd940dcb7418701e46e3 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 12 14:31:15 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Fri Feb 12 15:23:54 2016 -0800 |
tree | d662f1aadf813b4d512ff453155fb01604d80e14 | |
parent | 207922303fc77f39e688e8380f369e07cfbf56e3 [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