commit | b0a8aae3eda5e245b93cb6d3af286202dc8c011c | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Jun 15 20:03:49 2011 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Jun 15 20:03:49 2011 -0700 |
tree | 350d8ffebcc79984dc5a99b160a6282c8dd4aebb | |
parent | f8754337d82d0a1ba509311bbadd281619c7d96e [diff] [blame] |
Use adb_sleep_ms for Cygwin compat Change-Id: Iabb2cddfb6740a35e4b6b1563a81b64972c29453
diff --git a/adb/sockets.c b/adb/sockets.c index 6bfc7c8..7219293 100644 --- a/adb/sockets.c +++ b/adb/sockets.c
@@ -195,7 +195,7 @@ 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);