????libevent?????????????????I/O??·???????
???????????? ???????[ 2013/12/3 15:12:51 ] ????????
????????epollops?е?????????????????£??????????????????eventop?е?????????£???????????????????
static void *epoll_init (struct event_base *);
static int epoll_add (void *?? struct event *);
static int epoll_del (void *?? struct event *);
static int epoll_dispatch(struct event_base *?? void *?? struct timeval *);
static void epoll_dealloc (struct event_base *?? void *);
|
??
????????????
?????????????libevent??????????event_init()?????event_base?????????? eventops[i] ??????????? I/O demultiplex????????????á???δ????????event.c????event_base_new()?У?
base->evbase = NULL;
for (i = 0; eventops[i] && !base->evbase; i++) {
base->evsel = eventops[i];
base->evbase = base->evsel->init(base);
}
|
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
?????????????????HBase????????ú???????????????Rails????????????????Linux??????????????????????????????豸??????ò????????????????????????????Linux?????????????14??Linux?????7??????????????????? - ?洢?豸????????????????й???????Щ????????????????????Fuchsia??????б????iOS??????????????????? ???????????????????Linux????????AES??????????????α??????Linux??????????裺?????????????????????????????????????TmaxOS??????????iOS??Windows??????/WP???????????????????????