[zeromq-dev] disabling epoll()
Martin Sustrik
sustrik at 250bpm.com
Fri Oct 1 20:44:16 CEST 2010
Hi Thomas,
> Hi list. I'm experimenting with zmq for various uses, one of which is on
> an arm9 linux 2.4 kernel. I finally got everything to cross compile, and
> now (running the first server example in the user guide) I get:
>
> Function not implemented
> epoll_fd != -1 (epoll.cpp:40)
> Aborted
>
> Which I think is because my lib C supports epoll(), but at run time it
> determines that the kernel does not (man epoll says it was added in 2.5.x).
>
>
> 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?
Martin
More information about the zeromq-dev
mailing list