commit | 9e7d6e087488a757f4a4b6dbcc71b112ef9f8ff2 | [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 | 45ca9af113dedf1859237847583acb352aa7838e | |
parent | a564195a5886d35e0829f6b353f1660f30e4a516 [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