aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/ev_epollex_linux.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-27 12:07:05 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-27 12:07:05 -0700
commitb72a74ae039d666cf6cfc60477289c03dc5b5933 (patch)
tree2e3b34ab57293b5c7dc05066379b4d78508b9bca /src/core/lib/iomgr/ev_epollex_linux.c
parentac99bfff46edf841e3276090dfe5abb7773d402a (diff)
Fix wakeup bug
Diffstat (limited to 'src/core/lib/iomgr/ev_epollex_linux.c')
-rw-r--r--src/core/lib/iomgr/ev_epollex_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.c b/src/core/lib/iomgr/ev_epollex_linux.c
index b7c3e2e959..952f0172cc 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.c
+++ b/src/core/lib/iomgr/ev_epollex_linux.c
@@ -696,7 +696,7 @@ static grpc_error *pollset_kick_inner(grpc_pollset *pollset, pollable *p,
p->root_worker);
}
if (specific_worker == NULL) {
- if (gpr_tls_get(&g_current_thread_pollset) != (intptr_t)p) {
+ if (gpr_tls_get(&g_current_thread_pollset) != (intptr_t)pollset) {
if (pollset->root_worker == NULL) {
if (grpc_polling_trace) {
gpr_log(GPR_DEBUG, "PS:%p kicked_any_without_poller", p);