• Vladimir Chtchetkine's avatar
    Fixes ADB crash on Windows due to large number of connections. · ac52833e
    Vladimir Chtchetkine authored
    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
    ac52833e
sysdeps_win32.c 56.9 KB