Fix wakeup bug

pull/10712/head
Craig Tiller 8 years ago
parent ac99bfff46
commit b72a74ae03
  1. 2
      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); p->root_worker);
} }
if (specific_worker == NULL) { 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 (pollset->root_worker == NULL) {
if (grpc_polling_trace) { if (grpc_polling_trace) {
gpr_log(GPR_DEBUG, "PS:%p kicked_any_without_poller", p); gpr_log(GPR_DEBUG, "PS:%p kicked_any_without_poller", p);

Loading…
Cancel
Save