| commit | 2669cf9b61e4b222a012750baac7725ae2327618 | [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 | eccb8a0b47c4c07b4fcebebb08305593b4c6a2a8 | |
| parent | 5fea4913485a45bb8d63bf5fa7a60dc80284e155 [diff] [blame] |
adb: set thread names (linux & mac) Bug: 23423333 Change-Id: I0069f32ddbae2a10fb130064f721facf45b2cc09
diff --git a/commandline.cpp b/commandline.cpp index b92757f..6325e64 100644 --- a/commandline.cpp +++ b/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);