aboutsummaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-06-15 20:03:49 -0700
committerKenny Root <kroot@google.com>2011-06-15 20:03:49 -0700
commitb0a8aae3eda5e245b93cb6d3af286202dc8c011c (patch)
tree350d8ffebcc79984dc5a99b160a6282c8dd4aebb /adb
parentf8754337d82d0a1ba509311bbadd281619c7d96e (diff)
downloadsystem_core-b0a8aae3eda5e245b93cb6d3af286202dc8c011c.tar.gz
system_core-b0a8aae3eda5e245b93cb6d3af286202dc8c011c.tar.bz2
system_core-b0a8aae3eda5e245b93cb6d3af286202dc8c011c.zip
Use adb_sleep_ms for Cygwin compat
Change-Id: Iabb2cddfb6740a35e4b6b1563a81b64972c29453
Diffstat (limited to 'adb')
-rw-r--r--adb/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/sockets.c b/adb/sockets.c
index 6bfc7c80..72192936 100644
--- a/adb/sockets.c
+++ b/adb/sockets.c
@@ -195,7 +195,7 @@ static void local_socket_close(asocket *s)
if (s->kick_on_close && s->transport) {
kick_transport(s->transport);
/* delay to work around a race condition */
- sleep(1);
+ adb_sleep_ms(1000);
}
#endif
adb_mutex_lock(&socket_list_lock);