mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 19:05:18 +08:00
add pollset poller in AIX
add a new poller named pollset which will get benefit of performance in AIX platform.
This commit is contained in:
parent
45286fa1fe
commit
3a5971171f
@ -30,14 +30,16 @@
|
||||
#ifndef __ZMQ_POLLER_HPP_INCLUDED__
|
||||
#define __ZMQ_POLLER_HPP_INCLUDED__
|
||||
|
||||
#if defined ZMQ_USE_KQUEUE + defined ZMQ_USE_EPOLL \
|
||||
+ defined ZMQ_USE_DEVPOLL + defined ZMQ_USE_POLL \
|
||||
+ defined ZMQ_USE_SELECT > 1
|
||||
#if defined ZMQ_USE_KQUEUE + defined ZMQ_USE_POLLSET \
|
||||
+ defined ZMQ_USE_EPOLL + defined ZMQ_USE_DEVPOLL \
|
||||
+ defined ZMQ_USE_POLL + defined ZMQ_USE_SELECT > 1
|
||||
#error More than one of the ZMQ_USE_* macros defined
|
||||
#endif
|
||||
|
||||
#if defined ZMQ_USE_KQUEUE
|
||||
# include "kqueue.hpp"
|
||||
#elif defined ZMQ_USE_POLLSET
|
||||
# include "pollset.hpp"
|
||||
#elif defined ZMQ_USE_EPOLL
|
||||
# include "epoll.hpp"
|
||||
#elif defined ZMQ_USE_DEVPOLL
|
||||
|
Loading…
x
Reference in New Issue
Block a user