[
Author Prev
][
Author Next
][
Thread Prev
][
Thread Next
][
Author Index
][
Thread Index
]
[Libevent-users] event_del and already 'in-flight' event triggers
To
:
libevent-users@xxxxxxxxxxxxx
Subject
: [Libevent-users] event_del and already 'in-flight' event triggers
From
: Scott Dorr <
j.scott.dorr@xxxxxxxxx
>
Date
: Thu, 5 Jul 2012 15:34:58 -0400
Cc
: Scott Dorr <
j.scott.dorr@xxxxxxxxx
>
Delivered-to
:
archiver@xxxxxxxx
Delivered-to
:
libevent-users-outgoing@xxxxxxxx
Delivered-to
:
libevent-users@xxxxxxxx
Delivery-date
: Thu, 05 Jul 2012 15:34:32 -0400
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:date:message-id:cc:to:mime-version :x-mailer; bh=p25T2rv+dp/mbPvDR6iGHD1PgCFSByxb0sMagyG8wK8=; b=qkjsUZuI2bt78oeQ6akdygD3tCBQ11qKDFK+DRf/l50q+SD88OLQRGiYPf2E/FtQHP L4oth/ejiwV0yXqh9zFZVDVSt8r2gfD4xveTz+qA+vdE4huD2C3OTHBbvJwTh5D1sS+X Qiw+wDay+7HJBHBWJWCKROtzYSk3jvWwE3AxDrFLceeRy4Gin2uFPM9PuWgc2Jv79CAV 6C6knE5QDUaPG1E5QCdjRhMJ7USvKerrVsI4JJSg/2cRD9Gkng411+nFDrTT+foAipKK 7LZFyzTmgQY3UjCGo/pWYr6TPC4f96Sk72Ax3Ih5Anqn/KKoyK18k4jjrr1wK+LWbDmk sPjg==
Reply-to
:
libevent-users@xxxxxxxxxxxxx
Sender
:
owner-libevent-users@xxxxxxxxxxxxx
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
libevent calls callback_func() for P1
callback_func() calls event_del() on event R
What happens with P2? Is callback_func() still going to be called for it?
Thanks!
- scott
Follow-Ups
:
Re: [Libevent-users] event_del and already 'in-flight' event triggers
From:
Nick Mathewson
Prev by Author:
Re: [Libevent-users] using libEvent 2.x with Visual C++
Next by Author:
Re: [Libevent-users] event_del and already 'in-flight' event triggers
Previous by thread:
Re: [Libevent-users] using libEvent 2.x with Visual C++
Next by thread:
Re: [Libevent-users] event_del and already 'in-flight' event triggers
Index(es):
Author
Thread