Adjusted error handling for benign error EINTR.

pull/4247/head
Tom 9 years ago
parent e3c52e9d3c
commit 2cb9a61ce7
  1. 4
      src/core/iomgr/pollset_posix.c

@ -613,7 +613,9 @@ static void basic_pollset_maybe_work_and_unlock(grpc_exec_ctx *exec_ctx,
GPR_TIMER_END("poll", 0);
if (r < 0) {
gpr_log(GPR_ERROR, "poll() failed: %s", strerror(errno));
if (errno != EINTR) {
gpr_log(GPR_ERROR, "poll() failed: %s", strerror(errno));
}
if (fd) {
grpc_fd_end_poll(exec_ctx, &fd_watcher, 0, 0);
}

Loading…
Cancel
Save