commit | d9db09c3158d3da6aad34fbb926888ceafab3a55 | [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 | 46fe195a5456bca7aa4a1305f0e6d5e42e427085 | |
parent | 7e76c895443850c7da5a5e4f07a7a16fa483c5bd [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 b5fea14e13bb6e41b36f374c954dc55faeef4627)