commit | b5fea14e13bb6e41b36f374c954dc55faeef4627 | [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 | dda68c0fcfe4ced4ae410821c7681f02a2b9aff2 [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