libev and libevent

2018-02-19 Thread Andy Green
Hi - I maintain libwebsockets (https://libwebsockets.org / https://github.com/warmcat/libwebsockets ). Thanks to user contribution over the years it now supports libuv, libev and libevent. Libevent was the most recent addition; until then lws supports the idea of building the library with b

Re: libev and libevent

2018-02-19 Thread Harald Geyer
Andy Green writes: > For downstream maintainers like me whose users wish to be able to use > both, and where distro consumers should be able to tick all the boxes > and choose at runtime, are there any ideas what can be done to improve > the situation? It might be a good idea to support selecti

Re: libev and libevent

2018-02-19 Thread Marc Lehmann
On Mon, Feb 19, 2018 at 08:10:49PM +0800, Andy Green wrote: > Since libevent uses the preprocessor, it gets the final say; in other words > since it defines EV_READ etc to a different value, building some software > that can operate with both libevent and libev results in nothing working or > not

Re: libev and libevent

2018-02-19 Thread Andy Green
On February 19, 2018 9:01:49 PM GMT+08:00, Harald Geyer wrote: >Andy Green writes: >> For downstream maintainers like me whose users wish to be able to use > >> both, and where distro consumers should be able to tick all the boxes > >> and choose at runtime, are there any ideas what can be done

Re: libev and libevent

2018-02-19 Thread Andy Green
On February 19, 2018 10:06:04 PM GMT+08:00, Marc Lehmann wrote: >On Mon, Feb 19, 2018 at 08:10:49PM +0800, Andy Green >wrote: >> Since libevent uses the preprocessor, it gets the final say; in other >words >> since it defines EV_READ etc to a different value, building some >software >> that ca

Re: libev and libevent

2018-02-19 Thread Harald Geyer
Hi! Disclaimer: I'm not a libev developer. Just following this list as a regular user. Andy Green writes: > I'm proposing libevent and libev stop defining the same symbols to > different values and conflicting, the same way libev and libuv have > clean namespaces that don't conflict. It's quite b

Re: libev and libevent

2018-02-19 Thread Andy Green
On 20/02/18 02:05, Harald Geyer wrote: Hi! Disclaimer: I'm not a libev developer. Just following this list as a regular user. Andy Green writes: I'm proposing libevent and libev stop defining the same symbols to different values and conflicting, the same way libev and libuv have clean namesp