aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-11 10:27:08 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-11 10:27:08 -0700
commit4c2218e22930a4f17eaec4677470586e2d91e228 (patch)
treedf4291f8c9deaccf2079ed354546b14c325f4f46
parent9d8612054749b9f5cd5c2e001c8a288870b27c11 (diff)
Force wakeup after fd addition
-rw-r--r--src/core/lib/iomgr/ev_poll_posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_poll_posix.c b/src/core/lib/iomgr/ev_poll_posix.c
index 0240ea0a01..99874d49eb 100644
--- a/src/core/lib/iomgr/ev_poll_posix.c
+++ b/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);
}