Re: [Libevent-users] event_del and already 'in-flight' event triggers

2012-07-05 Thread Scott Dorr
On Jul 5, 2012, at 4:20 PM, Nick Mathewson wrote: > On Thu, Jul 5, 2012 at 3:34 PM, Scott Dorr wrote: >> When an event_del() is called on an evq, what happens to triggerings that >> were already 'in-flight' but haven't had their callbacks called yet. > > event_del() will make an active event in

Re: [Libevent-users] event_del and already 'in-flight' event triggers

2012-07-05 Thread Nick Mathewson
On Thu, Jul 5, 2012 at 3:34 PM, Scott Dorr wrote: > When an event_del() is called on an evq, what happens to triggerings that > were already 'in-flight' but haven't had their callbacks called yet. event_del() will make an active event inactive; if its callback was scheduled but has not been run,

[Libevent-users] event_del and already 'in-flight' event triggers

2012-07-05 Thread Scott Dorr
When an event_del() is called on an evq, what happens to triggerings that were already 'in-flight' but haven't had their callbacks called yet. For example: read event R is active on fd 42, uses 'callback_func()' as its callback new packet P1 comes in on fd 42 new packet P2 comes in on fd 42 libe