Fix tracing related TSAN race

pull/10712/head
Craig Tiller 8 years ago
parent 956920d84e
commit c3c9bf2442
  1. 5
      src/core/lib/iomgr/ev_epollex_linux.c

@ -913,10 +913,9 @@ static grpc_error *pollset_epoll(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset,
bool write_ev = (events[i].events & EPOLLOUT) != 0;
if (grpc_polling_trace) {
gpr_log(GPR_DEBUG,
"PS:%p poll %p got fd %p(%d/%d): is_wq=%d cancel=%d read=%d "
"PS:%p poll %p got fd %p: is_wq=%d cancel=%d read=%d "
"write=%d",
pollset, p, fd, fd->fd, fd->workqueue_wakeup_fd.read_fd,
is_workqueue, cancel, read_ev, write_ev);
pollset, p, fd, is_workqueue, cancel, read_ev, write_ev);
}
if (is_workqueue) {
append_error(&error,

Loading…
Cancel
Save