Eliminate MAXIMUM_WAIT_OBJECTS limitation in g_poll() on Windows
@pwithnall
Submitted by Philip Withnall Link to original bug (#753762)
Description
There is currently an arbitrary limitation of MAXIMUM_WAIT_OBJECTS (typically 64 or 128, I believe) handles being passed to g_poll() on Windows, which is signalled by a g_warning(). It should be possible to eliminate this limitation by using a tree of handles passed to WaitForMultipleObjects().
This would eliminate the warning ‘Too many handles to wait for!’.
Version: 2.45.x