Merge pull request #13234 from yashykt/windowstimerfix

Add a grpc_exec_ctx_invalidate_now in grpc_pollset_work for windows
pull/13243/head
Yash Tibrewal 7 years ago committed by GitHub
commit 744630d39d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/iomgr/pollset_windows.cc

@ -161,8 +161,10 @@ grpc_error *grpc_pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset,
while (!worker.kicked) {
if (gpr_cv_wait(&worker.cv, &grpc_polling_mu,
grpc_millis_to_timespec(deadline, GPR_CLOCK_REALTIME))) {
grpc_exec_ctx_invalidate_now(exec_ctx);
break;
}
grpc_exec_ctx_invalidate_now(exec_ctx);
}
} else {
pollset->kicked_without_pollers = 0;

Loading…
Cancel
Save