hi all:
    what's the usage of ev_pncalls in struct event? why not direct
use ev_ncalls?

two question:
1. in libevent 1.4.14, it seems only used in event_process_active(),
but in libeven2 it used in event_signal_closure. why?
2.         ev->ev_pncalls = &ncalls;  // from event_process_active()
here, ncalls is a stack variable.

           if (ev->ev_ncalls && ev->ev_pncalls) {
               /* Abort loop */
               *ev->ev_pncalls = 0;     //  ev.ev_pncalls point to a
stack variable, will this cover the stack?
           }

thanks!
***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to