Use ppoll() when possible for more precise timeouts
This is a possible alternative to !3949 (closed) that achieves similar results by using ppoll()
when the GPollFunc
has not been changed and ppoll()
is available.
ppoll()
should be available on Linux, BSD, macOS, and Solaris.
Fixes #3277 (closed)
Edited by Philip Withnall