From 68675d5f67c2570c78f114a241fbd2aaa625ceb1 Mon Sep 17 00:00:00 2001 From: Yong Wu <33825637+yongw5@users.noreply.github.com> Date: Sun, 12 Sep 2021 18:03:03 +0800 Subject: [PATCH] doc: adjust flags notice on event_base_loop() --- include/event2/event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/event2/event.h b/include/event2/event.h index e7513e54..83dfe540 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -829,7 +829,8 @@ int event_base_set(struct event_base *eb, struct event *ev); @param eb the event_base structure returned by event_base_new() or event_base_new_with_config() - @param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK + @param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK | + EVLOOP_NO_EXIT_ON_EMPTY @return 0 if successful, -1 if an error occurred, or 1 if we exited because no events were pending or active. @see event_base_loopexit(), event_base_dispatch(), EVLOOP_ONCE, -- 2.40.0