mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Merge pull request #2331 from jimklimov/sol-poller
Problem: polling does not work well OOB in OpenIndiana
This commit is contained in:
commit
78dafe5c7c
11
acinclude.m4
11
acinclude.m4
@ -986,6 +986,15 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
|
||||
])
|
||||
;;
|
||||
epoll)
|
||||
case "$host_os" in
|
||||
solaris*|sunos*)
|
||||
# Recent illumos and Solaris systems did add epoll()
|
||||
# syntax, but it does not fully satisfy expectations
|
||||
# that ZMQ has from Linux systems. Unless you undertake
|
||||
# to fix the integration, do not disable this exception
|
||||
# and use select() or poll() on Solarish OSes for now.
|
||||
AC_MSG_NOTICE([NOT using 'epoll' polling system on '$host_os']) ;;
|
||||
*)
|
||||
LIBZMQ_CHECK_POLLER_EPOLL_CLOEXEC([
|
||||
AC_MSG_NOTICE([Using 'epoll' polling system with CLOEXEC])
|
||||
AC_DEFINE(ZMQ_USE_EPOLL, 1, [Use 'epoll' polling system])
|
||||
@ -999,6 +1008,8 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
|
||||
])
|
||||
])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
devpoll)
|
||||
LIBZMQ_CHECK_POLLER_DEVPOLL([
|
||||
AC_MSG_NOTICE([Using 'devpoll' polling system])
|
||||
|
Loading…
x
Reference in New Issue
Block a user