Beispiel #1
0
static gboolean
glib_callback(gpointer data)
{
    gboolean persists = verto_get_flags(data) & VERTO_EV_FLAG_PERSIST;
    verto_fire(data);
    return persists;
}
Beispiel #2
0
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);
}
Beispiel #3
0
static void
glib_callback_child(GPid pid, gint status, gpointer data)
{
    verto_set_proc_status(data, status);
    verto_fire(data);
}
Beispiel #4
0
static void
libevent_callback(evutil_socket_t socket, short type, void *data)
{
    verto_fire(data);
}