commit | 49ee7cf9a10f66ffa9a3490c69db5fa46e0a966b | [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 | 9f07f87908f072d63d8bb9ded91616af8d3edbb4 [diff] [blame] |
adb: set thread names (linux & mac) Bug: 23423333 Change-Id: I0069f32ddbae2a10fb130064f721facf45b2cc09
diff --git a/adb/commandline.cpp b/adb/commandline.cpp index b92757f..6325e64 100644 --- a/adb/commandline.cpp +++ b/adb/commandline.cpp
@@ -374,6 +374,8 @@ fdi = fds[1]; free(fds); + adb_thread_setname("stdin reader"); + while (true) { /* fdi is really the client's stdin, so use read, not adb_read here */ D("stdin_read_thread(): pre unix_read(fdi=%d,...)\n", fdi);