int event_reinit(struct event_base *base);
example:
#include <stdio.h>
#include <event2/event.h>
int main()
{
struct event_base * pBase = event_base_new();
printf("libevent version %s\n",event_get_version());
const char **p = event_get_supported_methods();
while( *p != NULL)
{
printf("%s\n",*p);
++p;
}
struct event_config * pec=event_config_new();
event_config_avoid_method(pec,"select");
event_config_require_features(pec,EV_FEATURE_ET);
struct event_base * pbase2=event_base_new_with_config(pec);
event_config_free(pec);
event_base_free(pBase);
return 0;
}