Add comment

pull/10932/head
Craig Tiller 8 years ago
parent bbf4c7a00a
commit f4b0fcaa8e
  1. 1
      src/core/lib/iomgr/ev_epoll1_linux.c

@ -563,6 +563,7 @@ static bool begin_worker(grpc_pollset *pollset, grpc_pollset_worker *worker,
// active list // active list
pollset_neighbourhood *neighbourhood = pollset->neighbourhood; pollset_neighbourhood *neighbourhood = pollset->neighbourhood;
gpr_mu_unlock(&pollset->mu); gpr_mu_unlock(&pollset->mu);
// pollset unlocked: state may change (even worker->kick_state)
gpr_mu_lock(&neighbourhood->mu); gpr_mu_lock(&neighbourhood->mu);
gpr_mu_lock(&pollset->mu); gpr_mu_lock(&pollset->mu);
if (pollset->seen_inactive) { if (pollset->seen_inactive) {

Loading…
Cancel
Save