I have some related issues. In addition to freeing a base, I want to be
able to create a base without setting current_base. (I have a library
that uses libevent, and I don't want to assume anything about how someone
uses libevent.) Unfortunately, if I do this, and create something like
event_base_init() to create an event base, but nobody ever calls
event_init(), event_set() will fail because it sets a default priority
based on current_base. I'd like to create a version of event_set that
takes the desired base, but event_base_set is already taken as a name.
Any opinions on this? Does anyone actually use the current version of
event_base_set? It doesn't seem very useful to me. I assume that the
current version will have to stay though. Anyone have any desire to
propose another name? Similarly, event_once will need to have something
similar. Any opinions on this stuff?
Nathan
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users