aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-05 17:21:55 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-06 15:23:24 -0700
commite52d205799be922db0c1c63ae48a4921707183b4 (patch)
tree897fb0bc3c0318af1e6c4ced7296efd7f88644dc /CMakeLists.txt
parent916ba1ab23aa50b855fd795f095eaedb328e84d9 (diff)
downloadnng-e52d205799be922db0c1c63ae48a4921707183b4.tar.gz
nng-e52d205799be922db0c1c63ae48a4921707183b4.tar.bz2
nng-e52d205799be922db0c1c63ae48a4921707183b4.zip
fixes #393 panic on illumos - epoll assertion error
This replaces the epoll support with proper illumos/SunOS port events. The port event support is structured so that it actually is superior to epoll and kqueue, because it avoids a single master lock on the poller. In the future we will explore this for macOS and Linux pollers.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c91e6a34..f277c653 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -390,6 +390,7 @@ else ()
nng_check_sym (alloca alloca.h NNG_HAVE_ALLOCA)
nng_check_struct_member(msghdr msg_control sys/socket.h NNG_HAVE_MSG_CONTROL)
nng_check_sym (kqueue sys/event.h NNG_HAVE_KQUEUE)
+ nng_check_sym (port_create port.h NNG_HAVE_PORT_CREATE)
nng_check_sym (epoll_wait sys/epoll.h NNG_HAVE_EPOLL)
nng_check_sym (getpeereid unistd.h NNG_HAVE_GETPEEREID)
nng_check_sym (SO_PEERCRED sys/socket.h NNG_HAVE_SOPEERCRED)