summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2017-10-12 16:48:36 -0400
committerAdam Jackson <ajax@redhat.com>2017-12-13 11:18:07 -0500
commit83c04ee6eae1edc80528203fb515425108171cd8 (patch)
tree66d67dcec28e453ce5028e4ff60abff237178acd /include
parentbed28300999a07514d741abe5c748adf234e18a6 (diff)
os: Add epoll-like pollset implementation for AIX
AIX's poll only allows FD_SETSIZE entries in the fd list, which is insufficient for expanded MaxClients. As a bonus, x11perf -noop with ~250 xlogos connected is slightly faster with pollset: before after Operation --------- ---------------- -------------------- 5750000.0 5990000.0 (1.04) X protocol NoOperation Signed-off-by: Peter Harris <pharris@opentext.com> Acked-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build
index 471014610..01da3dbb1 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -123,6 +123,7 @@ conf_data.set('HAVE_GETPROGNAME', cc.has_function('getprogname'))
conf_data.set('HAVE_GETZONEID', cc.has_function('getzoneid'))
conf_data.set('HAVE_MMAP', cc.has_function('mmap'))
conf_data.set('HAVE_POLL', cc.has_function('poll'))
+conf_data.set('HAVE_POLLSET_CREATE', cc.has_function('pollset_create'))
conf_data.set('HAVE_POSIX_FALLOCATE', cc.has_function('posix_fallocate'))
conf_data.set('HAVE_REALLOCARRAY', cc.has_function('reallocarray', dependencies: libbsd_dep))
conf_data.set('HAVE_SETEUID', cc.has_function('seteuid'))