static gboolean glib_callback(gpointer data) { gboolean persists = verto_get_flags(data) & VERTO_EV_FLAG_PERSIST; verto_fire(data); return persists; }
static void libev_callback(EV_P_ ev_watcher *w, int revents) { if (verto_get_type(w->data) == VERTO_EV_TYPE_CHILD) verto_set_proc_status(w->data, ((ev_child*) w)->rstatus); verto_fire(w->data); }
static void glib_callback_child(GPid pid, gint status, gpointer data) { verto_set_proc_status(data, status); verto_fire(data); }
static void libevent_callback(evutil_socket_t socket, short type, void *data) { verto_fire(data); }