commit | 1adce23e4a3ea05bc22ae196f36ea95cc74b3db9 | [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 | d91433d2285a2287fd32ded6f098eb662fd70760 [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)