Force wakeup after fd addition

pull/5456/head
Craig Tiller 9 years ago
parent 9d86120547
commit 4c2218e229
  1. 1
      src/core/lib/iomgr/ev_poll_posix.c

@ -768,6 +768,7 @@ static void pollset_add_fd(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset,
}
pollset->fds[pollset->fd_count++] = fd;
GRPC_FD_REF(fd, "multipoller");
pollset_kick(pollset, NULL);
exit:
gpr_mu_unlock(&pollset->mu);
}

Loading…
Cancel
Save