commit | 6d0b1bdb2bc9d8bd2bce8299dbf74b65b7d09714 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 12 23:47:59 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Feb 12 23:47:59 2016 +0000 |
tree | 441b647cb79a53aa0d2071511411567fb1f83200 | |
parent | b3c6c2d498cf4c7de5fa407e425e8580184f46aa [diff] | |
parent | 349972c919407765c8266dd13c7b30fced7270eb [diff] |
Merge "adb: sysdeps_win32: actually change ExitThread to _endthreadex."
diff --git a/adb/sysdeps.h b/adb/sysdeps.h index f9f6f69..3bae09e 100644 --- a/adb/sysdeps.h +++ b/adb/sysdeps.h
@@ -170,7 +170,7 @@ } static __inline__ void __attribute__((noreturn)) adb_thread_exit() { - ExitThread(0); + _endthreadex(0); } static __inline__ int adb_thread_setname(const std::string& name) {