mirror of https://github.com/grpc/grpc.git
There were spurious TSAN errors on PR #17823 because TSAN doesn't really understand how `g_uncovered_notifications_pending` works. It's odd in the sense that we destroy the backup poller, when the ref count reaches 1 (instead of 0 which is commonly used). Prior to PR #17823, TSAN doesn't complain because we (unnecessarily) always grab the pollset's lock, which TSAN understands. This commit uses full_fetch_add to explain the synchronization primitive to TSAN.pull/17908/head
parent
15bb25ae54
commit
3492539b32
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue