event_compat(3) | Library Functions Manual | event_compat(3) |
#include <event2/event_compat.h>
#include <event2/visibility.h>
#include <event2/event-config.h>
#include <event2/util.h>
timeout_* macros
Deprecated
Use the evtimer_* macros instead.
#define timeout_add(ev, tv) event_add((ev), (tv))
#define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb),
(arg))
#define timeout_del(ev) event_del(ev)
#define timeout_pending(ev, tv) event_pending((ev),
EV_TIMEOUT, (tv))
#define timeout_initialized(ev) event_initialized(ev)
signal_* macros
Deprecated
Use the evsignal_* macros instead.
#define signal_add(ev, tv) event_add((ev), (tv))
#define signal_set(ev, x, cb, arg) event_set((ev), (x),
EV_SIGNAL|EV_PERSIST, (cb), (arg))
#define signal_del(ev) event_del(ev)
#define signal_pending(ev, tv) event_pending((ev),
EV_SIGNAL, (tv))
#define signal_initialized(ev) event_initialized(ev)
In the oldest versions of Libevent, event_base was not a first-class structure. Instead, there was a single event base that every function manipulated. Later, when separate event bases were added, the old functions that didn't take an event_base argument needed to work by manipulating the 'current' event base. This could lead to thread-safety issues, and obscure, hard-to-diagnose bugs.
Deprecated
Deprecated
See also:
Deprecated
See also:
Deprecated
See also:
Deprecated
See also:
Deprecated
See also:
Deprecated
See also:
Deprecated
See also:
Deprecated
See also:
Deprecated
Tue Jan 31 2017 | libevent |