diff options
author | yang-g <yangg@google.com> | 2016-01-12 09:32:40 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-01-12 09:32:40 -0800 |
commit | 1949efd54257f9036e1d94bf44f7de3420579c5c (patch) | |
tree | 7e0c119a169a28bc98d34c0bc9f1824efb4c92be /src | |
parent | 4cdb6247a6364bbc8c412e555d30d812611e4783 (diff) |
Test for tsan error
Diffstat (limited to 'src')
-rw-r--r-- | src/core/iomgr/pollset_multipoller_with_epoll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/iomgr/pollset_multipoller_with_epoll.c b/src/core/iomgr/pollset_multipoller_with_epoll.c index dae33e42f2..2c113048e2 100644 --- a/src/core/iomgr/pollset_multipoller_with_epoll.c +++ b/src/core/iomgr/pollset_multipoller_with_epoll.c @@ -90,6 +90,7 @@ static void remove_epoll_fd_from_global_list(int epoll_fd) { void grpc_remove_fd_from_all_epoll_sets(int fd) { int err; + gpr_once_init(&init_epoll_fd_list_mu, init_mu); gpr_mu_lock(&epoll_fd_list_mu); if (epoll_fd_global_list.count == 0) { return; |