Update epoll to new vtable

pull/1888/head
Craig Tiller 10 years ago
parent d96579661d
commit 9349c0a104
  1. 4
      src/core/iomgr/pollset_multipoller_with_epoll.c

@ -143,6 +143,8 @@ static int multipoll_with_epoll_pollset_maybe_work(
return 1;
}
static void multipoll_with_epoll_pollset_finish_shutdown(grpc_pollset *pollset) {}
static void multipoll_with_epoll_pollset_destroy(grpc_pollset *pollset) {
pollset_hdr *h = pollset->data.ptr;
grpc_wakeup_fd_destroy(&h->wakeup_fd);
@ -158,7 +160,7 @@ static void epoll_kick(grpc_pollset *pollset) {
static const grpc_pollset_vtable multipoll_with_epoll_pollset = {
multipoll_with_epoll_pollset_add_fd, multipoll_with_epoll_pollset_del_fd,
multipoll_with_epoll_pollset_maybe_work, epoll_kick,
multipoll_with_epoll_pollset_destroy};
multipoll_with_epoll_pollset_finish_shutdown, multipoll_with_epoll_pollset_destroy};
static void epoll_become_multipoller(grpc_pollset *pollset, grpc_fd **fds,
size_t nfds) {

Loading…
Cancel
Save