hiperfifo.c | 76 struct event_base *evbase; member in struct:_GlobalInfo 239 f->ev = event_new(g->evbase, f->sockfd, kind, event_cb, g); 393 g->fifo_event = event_new(g->evbase, sockfd, EV_READ|EV_PERSIST, fifo_cb, g); 412 g.evbase = event_base_new(); 415 g.timer_event = evtimer_new(g.evbase, timer_cb, &g); 426 event_base_dispatch(g.evbase); 432 event_base_free(g.evbase);
|