Rename wakeup fd accessor

pull/157/head
David Klempner 10 years ago
parent e360568a70
commit bb915ace54
  1. 2
      src/core/iomgr/pollset_kick.c
  2. 2
      src/core/iomgr/wakeup_fd_posix.h

@ -113,7 +113,7 @@ int grpc_pollset_kick_pre_poll(grpc_pollset_kick_state *kick_state) {
}
kick_state->fd_info = allocate_wfd();
gpr_mu_unlock(&kick_state->mu);
return GRPC_WAKEUP_FD_FD(&kick_state->fd_info->wakeup_fd);
return GRPC_WAKEUP_FD_GET_READ_FD(&kick_state->fd_info->wakeup_fd);
}
void grpc_pollset_kick_consume(grpc_pollset_kick_state *kick_state) {

@ -73,7 +73,7 @@ void grpc_wakeup_fd_consume_wakeup(grpc_wakeup_fd_info *fd_info);
void grpc_wakeup_fd_wakeup(grpc_wakeup_fd_info *fd_info);
void grpc_wakeup_fd_destroy(grpc_wakeup_fd_info *fd_info);
#define GRPC_WAKEUP_FD_FD(fd_info) ((fd_info)->read_fd)
#define GRPC_WAKEUP_FD_GET_READ_FD(fd_info) ((fd_info)->read_fd)
/* Force using the fallback implementation. This is intended for testing
* purposes only.*/

Loading…
Cancel
Save