commit | fbdd87e6dceaa3780157bf246069b6dce33add07 | [log] [tgz] |
---|---|---|
author | Siva Velusamy <vsiva@google.com> | Fri Aug 28 16:37:29 2015 -0700 |
committer | Siva Velusamy <vsiva@google.com> | Mon Aug 31 07:52:52 2015 -0700 |
tree | 09ba121030900c5f47ccb99357d13f3b2841f24c | |
parent | b8163446062730feb14105d7ee31b3b4a6c069ff [diff] [blame] |
adb: set thread names (linux & mac) Bug: 23423333 Change-Id: I0069f32ddbae2a10fb130064f721facf45b2cc09
diff --git a/adb/services.cpp b/adb/services.cpp index c8c2d54..4606804 100644 --- a/adb/services.cpp +++ b/adb/services.cpp
@@ -67,6 +67,7 @@ void *service_bootstrap_func(void *x) { stinfo* sti = reinterpret_cast<stinfo*>(x); + adb_thread_setname(android::base::StringPrintf("service %d", sti->fd)); sti->func(sti->fd, sti->cookie); free(sti); return 0;