aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-10-02 15:35:59 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-10-02 15:35:59 -0700
commit65da0efda3bcf8c7e7962a9a30602df1c9c92bb6 (patch)
treeb7a81df8276b375e43f158e40ecc3cccdc58a421 /src/core/lib/iomgr
parenta35e6e5a0b1d2c9fec817627ee20eefb6ca34568 (diff)
Init mutex
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r--src/core/lib/iomgr/ev_epollex_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.c b/src/core/lib/iomgr/ev_epollex_linux.c
index e456e108c5..7d3482d779 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.c
+++ b/src/core/lib/iomgr/ev_epollex_linux.c
@@ -428,6 +428,7 @@ static grpc_error *pollable_create(pollable_type type, pollable **p) {
*p = gpr_malloc(sizeof(**p));
(*p)->type = type;
gpr_ref_init(&(*p)->refs, 1);
+ gpr_mu_init(&(*p)->mu);
(*p)->epfd = epfd;
(*p)->wakeup = wakeup_fd;
(*p)->owner_fd = NULL;