Hello,
"Ordinarily, the loop will exit as soon as it has no pending or active events. You can override this behavior by passing the EVLOOP_NO_EXIT_ON_EMPTY flag---for example, if youâre going to be adding events from some other thread."
This seems to imply that it is only recommended to add events if another thread is used?
Is that the only way? What is the best way?
Thanks in advance