unix: Add ppoll support
Allows for finer grained timeout values, and fixes a FIXME. This also drops the legacy select() fallback path in favor of presuming that poll() is always available. poll() is part of the POSIX.1-2001 standard, has been available in Unix since some time in the 1980s, the BSDs since at least the early 90s, and Linux since kernel 2.1, which predates kernel support for Pthreads. glibc also has its own emulation using select(), if necessary.
This commit is contained in:
@@ -199,7 +199,7 @@
|
||||
#cmakedefine HAVE_SEM_TIMEDWAIT 1
|
||||
#cmakedefine HAVE_GETAUXVAL 1
|
||||
#cmakedefine HAVE_ELF_AUX_INFO 1
|
||||
#cmakedefine HAVE_POLL 1
|
||||
#cmakedefine HAVE_PPOLL 1
|
||||
#cmakedefine HAVE__EXIT 1
|
||||
|
||||
#endif /* HAVE_LIBC */
|
||||
|
||||
Reference in New Issue
Block a user