[zeromq-dev] disabling epoll()

Martin Lucina mato at kotelna.sk
Mon Oct 4 15:06:28 CEST 2010


ph at imatix.com said:
> On Mon, Oct 4, 2010 at 2:50 PM, Martin Lucina <mato at kotelna.sk> wrote:
> 
> >> I'm submitting a patch that defines the correct macros.  You can use
> >> these in poller.cpp to decide which mechanism to use.
> >
> > We already do have these macros. What are you submitting, exactly?
> 
> Where are those macros already?

As Martin said, if you define ZMQ_FORCE_POLL or ZMQ_FORCE_SELECT during
compilation of libzmq, this will force the zmq::poller_t and zmq_poll() to
use a poll()- or select()- based implementation irrespective of what
configure thinks.

-mato



More information about the zeromq-dev mailing list