[zeromq-dev] disabling epoll()
Martin Lucina
mato at kotelna.sk
Mon Oct 4 14:49:30 CEST 2010
Martin,
sustrik at 250bpm.com said:
> > I found some comments about how zmq will use epoll "when available", which
> > makes me hopeful their is some configure switch to turn it off. Or is this
> > a lost cause?
>
> Just define ZMQ_FORCE_POLL or ZMQ_FORCE_SELECT macro, depending on what
> polling system is available.
>
> 0MQ devs: Wouldn't it be better if we checked for the availability of
> different polling mechanisms during the configure phase?
Not possible. configure can only determine what your target C library is,
it knows nothing about your target kernel.
If there is enough demand I guess I can add a --with-poll=select /
--with-poll=poll option or similar to configure but all that would do is
let you do what you can already do now with -DZMQ_FORCE_XXX.
In any case, Linux kernel 2.4.x is ancient so this is really a very special
case.
-mato
More information about the zeromq-dev
mailing list