diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-11-30 10:20:27 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-12-05 13:14:23 -0800 |
commit | ce48083fc90cee807dd66608e2c3e496145af9ff (patch) | |
tree | 505652033adaca75e558edcb86c455da6eaf9ce4 /liblog | |
parent | f9c1fcc505d59fd87392e6af7341b1737f186081 (diff) | |
download | system_core-ce48083fc90cee807dd66608e2c3e496145af9ff.zip system_core-ce48083fc90cee807dd66608e2c3e496145af9ff.tar.gz system_core-ce48083fc90cee807dd66608e2c3e496145af9ff.tar.bz2 |
Fixes ADB crash on Windows due to large number of connections. do not merge.
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.
(cherry picked from commit ac52833e48f46dfd9f7c8f86236ee8b437850c0a)
Change-Id: I8ad264765e5b38d01a31e42b445f97ea86e49948
Diffstat (limited to 'liblog')
0 files changed, 0 insertions, 0 deletions