commit | ac52833e48f46dfd9f7c8f86236ee8b437850c0a | [log] [tgz] |
---|---|---|
author | Vladimir Chtchetkine <vchtchetkine@google.com> | Wed Nov 30 10:20:27 2011 -0800 |
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | Thu Dec 01 08:47:35 2011 -0800 |
tree | d491b28b8e7fcb0c5d0dfbc2b4022e63b88e28b2 | |
parent | 5c9263d819171a2080f175e3582e1e6041130722 [diff] |
Fixes ADB crash on Windows due to large number of connections. The reason for the crash is that ADB on Windows uses WaitForMultipleObjects to wait on connection events. When number of connections exceeds 64, ADB crashes, because WaitForMultipleObjects API doesn't support more than 64 handles. This CL contains a fixer routine that allows waiting on an arbitrary number of handles. Change-Id: I83f712e552018df308318154c27df184015a16ee