This loop will run the event base until either there are no more added
events, or until something calls event_base_loopbreak() or
event_base_loopexit().
@param base the event_base structure returned by event_base_new() or
event_base_new_with_config()
@return 0 if successful, -1 if an error occurred, or 1 if no events were
registered.
@see event_base_loop()
Event dispatching loop
This loop will run the event base until either there are no more added events, or until something calls event_base_loopbreak() or event_base_loopexit().
@param base the event_base structure returned by event_base_new() or event_base_new_with_config() @return 0 if successful, -1 if an error occurred, or 1 if no events were registered. @see event_base_loop()