Searched refs:epollfds (Results 1 – 1 of 1) sorted by relevance
47 static struct epoll_event *epollfds = NULL; variable82 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()83 if (!epollfds) { in fpm_event_epoll_init()87 memset(epollfds, 0, sizeof(struct epoll_event) * max); in fpm_event_epoll_init()102 if (epollfds) { in fpm_event_epoll_clean()103 free(epollfds); in fpm_event_epoll_clean()104 epollfds = NULL; in fpm_event_epoll_clean()125 memset(epollfds, 0, sizeof(struct epoll_event) * nepollfds); in fpm_event_epoll_wait()128 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()142 if (!epollfds[i].data.ptr) { in fpm_event_epoll_wait()[all …]
Completed in 6 milliseconds