mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: polling does not work well OOB in OpenIndiana
Solution: even though epoll() semantics are supported in modern illumos, it may differ from what Linux developers are used to expect. Skip epoll and use poll or select semantics (both were checked to work well).
This commit is contained in:
parent
e56bc48ebc
commit
f8816945c2
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…
Reference in New Issue
Block a user