[zeromq-dev] patch for aix support
George Neill
georgen at neillnet.com
Mon Dec 8 23:21:16 CET 2008
Martin,
> In your patch poll is disabled for AIX (poll_thread.hpp) Is there any reason
> for this?
Yeah, I am not sure why I chose select, I didn't intentionally disable
it. Flopping it over to poll works fine.
-bash-3.2$ svn diff
Index: libzmq/zmq/poll_thread.hpp
===================================================================
--- libzmq/zmq/poll_thread.hpp (revision 757)
+++ libzmq/zmq/poll_thread.hpp (working copy)
@@ -25,7 +25,7 @@
#if defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_FREEBSD ||\
defined ZMQ_HAVE_OPENBSD || defined ZMQ_HAVE_SOLARIS ||\
defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_QNXNTO ||\
- defined ZMQ_HAVE_HPUX
+ defined ZMQ_HAVE_HPUX || defined ZMQ_HAVE_AIX
#include <poll.h>
#include <stddef.h>
Index: libzmq/zmq/io_thread.hpp
===================================================================
--- libzmq/zmq/io_thread.hpp (revision 757)
+++ libzmq/zmq/io_thread.hpp (working copy)
@@ -53,7 +53,7 @@
typedef poll_thread_t io_thread_t;
#elif defined (ZMQ_HAVE_AIX)
- typedef select_thread_t io_thread_t;
+ typedef poll_thread_t io_thread_t;
#elif defined (ZMQ_HAVE_HPUX)
typedef poll_thread_t io_thread_t;
Thanks,
George.
More information about the zeromq-dev
mailing list