[zeromq-dev] disabling epoll()

Martin Lucina mato at kotelna.sk
Mon Oct 4 15:23:00 CEST 2010


ph at imatix.com said:
> On Mon, Oct 4, 2010 at 3:06 PM, Martin Lucina <mato at kotelna.sk> wrote:
> 
> >> 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.
> 
> Could you explain how the build currently decides to use e/poll() or select()?

This is determined at compile time by configure which sets the relevant
ZMQ_HAVE_XXX to detect the OS and the rest is done in the ifdefs in
poller.hpp.

> What I added was detection for the functions themselves, as you can
> trivially see from the patch I posted.  Obviously it doesn't help

Where's the patch? It's not in your original email, maybe you forgot to
attach it?

-mato



More information about the zeromq-dev mailing list