[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] loopbreak vs. loopexit



I read the documentation on loopbreak and loopexit in both
http://www.wangafu.net/~nickm/libevent-book/ and the header file and I still
don't fully understand the details.

"vent_base_loopbreak ... differs from event_base_loopexit(base, NULL) in
that if the event_base is currently processing any active events, it will
exit immediately after finishing the one it's currently processing."  

The sentence above initially uses "currently processing" to refer to events
in the plural form, and then uses the same phrase to refer to event in the
singular form. What does "currently processing" actually mean ? How is it
different from an "active event" ?

The sentence also implies that this is the ONLY difference between the
functions, while in practice the delay factor also seems to be a
differentiator.
Am I missing something ?


***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.