… | |
… | |
94 | method_poll = epoll_poll; |
94 | method_poll = epoll_poll; |
95 | |
95 | |
96 | epoll_eventmax = 64; /* intiial number of events receivable per poll */ |
96 | epoll_eventmax = 64; /* intiial number of events receivable per poll */ |
97 | epoll_events = (struct epoll_event *)ev_malloc (sizeof (struct epoll_event) * epoll_eventmax); |
97 | epoll_events = (struct epoll_event *)ev_malloc (sizeof (struct epoll_event) * epoll_eventmax); |
98 | |
98 | |
99 | return EVMETHOD_EPOLL; |
99 | return EVBACKEND_EPOLL; |
100 | } |
100 | } |
101 | |
101 | |
102 | static void |
102 | static void |
103 | epoll_destroy (EV_P) |
103 | epoll_destroy (EV_P) |
104 | { |
104 | { |