I tried to examine the internals of libevent source code.
I figured out that:
1. getenv() is often used to determine the event demultiplexing method
at runtime. 
2. Sometimes the library outputs messages on stdout/stderr
3. there is at least one occurence of exit() system call

All those things make it hard to include the library in a C++ project.

Is there a way do disable all or some of those features (i think i can
setup a custom error handling policy, but how?)

Maybe the source code has to be modified using ifdef's to include or
exclude all those features from the build. Is there a plan to do this ?
Maybe I could try to do this myself. Would you accept such a patch?

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to