Home
last modified time | relevance | path

Searched refs:epfd (Results 1 – 1 of 1) sorted by relevance

/redis-3.2.3/src/
H A Dae_epoll.c35 int epfd; member
48 state->epfd = epoll_create(1024); /* 1024 is just a hint for the kernel */ in aeApiCreate()
49 if (state->epfd == -1) { in aeApiCreate()
68 close(state->epfd); in aeApiFree()
86 if (epoll_ctl(state->epfd,op,fd,&ee) == -1) return -1; in aeApiAddEvent()
100 epoll_ctl(state->epfd,EPOLL_CTL_MOD,fd,&ee); in aeApiDelEvent()
104 epoll_ctl(state->epfd,EPOLL_CTL_DEL,fd,&ee); in aeApiDelEvent()
112 retval = epoll_wait(state->epfd,state->events,eventLoop->setsize, in aeApiPoll()