Lines Matching +full:total +full:- +full:timeout
2 * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
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 */
101 * added. The function should return 0 on success and -1 on error.
109 return 0 on success and -1 on error.
117 /** Bit-array of supported event_method_features that this backend can
130 integers. Instead, they are pointer-like windows handles, and we want to
140 #include "ht-internal.h"
159 /* A list of events waiting on a given 'common' timeout value. Ordinarily,
160 * events waiting for a timeout wait on a minheap. Sometimes, however, a
172 /* The event_base that this timeout list is part of */
176 /** Mask used to get the real tv_usec value from a common timeout. */
212 /** Pointer to backend-specific data. */
229 /** Number of total events added to this event_base */
231 /** Maximum number of total events added to this event_base */
233 /** Number of total events active in this event_base */
235 /** Maximum number of total events active in this event_base */
271 /* common timeout logic */
273 /** An array of common_timeout_list* for all of the common timeout
278 /** The total size of common_timeout_queues. */
376 #define TAILQ_FIRST(head) ((head)->tqh_first)
382 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
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)
479 * Calling this function doesn't mean it'll be possible to re-enable