windows: remove total fds (256) limitations
authorFrank Li <Frank.Li@nxp.com>
Fri, 12 Jul 2019 19:29:12 +0000 (14:29 -0500)
committerNathan Hjelm <hjelmn@google.com>
Fri, 9 Aug 2019 16:16:52 +0000 (09:16 -0700)
commit395e5a8a6f221000b65f41ecc0b502908efc9ea7
tree83d5b1a08ec25dfbadbba7d680973d6a49f808c6
parent45352d22aa7e4a69345ea88f6a5241e327438d1c
windows: remove total fds (256) limitations

When queue more usb requests, and more devices working at the same time
256's limitation is easy to reach.

This patch remove such limitation of windows version.

dymatic allocate map fd_table.
each time increase 256 entry if request more fds.

Closes #592

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/poll_windows.c
libusb/os/poll_windows.h
libusb/version_nano.h