Lines Matching +full:field +full:- +full:active +full:- +full:even

2  * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 #include "event2/event-config.h"
35 #include "evconfig-private.h"
40 #include "minheap-internal.h"
41 #include "evsignal-internal.h"
42 #include "mm-internal.h"
43 #include "defer-internal.h"
72 /** A persistent non-signal event. Uses the evcb_callback callback */
92 * stored by event_init into the event_base.evbase field. On failure,
100 * fdinfo field below. It will be set to 0 the first time the fd is
101 * added. The function should return 0 on success and -1 on error.
108 active event (usually via event_io_active or such). It should
109 return 0 on success and -1 on error.
117 /** Bit-array of supported event_method_features that this backend can
121 has one or more active events. This information is recorded
130 integers. Instead, they are pointer-like windows handles, and we want to
140 #include "ht-internal.h"
212 /** Pointer to backend-specific data. */
227 /** Maximum number of virtual events active */
233 /** Number of total events active in this event_base */
235 /** Maximum number of total events active in this event_base */
253 /** Set to the number of deferred_cbs we've made 'active' in the
259 /* Active event management. */
260 /** An array of nactivequeues queues for active event_callbacks (ones
267 /** A list of event_callbacks that should become active the next time
376 #define TAILQ_FIRST(head) ((head)->tqh_first)
382 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) argument
386 #define TAILQ_FOREACH(var, head, field) \ argument
389 (var) = TAILQ_NEXT(var, field))
393 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ argument
394 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
395 (elm)->field.tqe_next = (listelm); \
396 *(listelm)->field.tqe_prev = (elm); \
397 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
402 ((base)->event_count_active)
421 /** Argument for event_del_nolock_. Tells event_del to proceed even if the
466 /* Helper function: Call 'fn' exactly once every inserted or active event in
479 * Calling this function doesn't mean it'll be possible to re-enable