diff options
author | Yong Ni <yongni@google.com> | 2017-07-05 14:56:13 -0700 |
---|---|---|
committer | Yong Ni <yongni@google.com> | 2017-07-05 14:56:13 -0700 |
commit | ef698b60cd0dc121f0d8d50f972bbcca6743905f (patch) | |
tree | b103d0b3c6fd128e141b7900f42bb094e52b191f /src/core/lib/iomgr/pollset_uv.c | |
parent | 5f32c517b1f9ac4854039af8d0e1bb2da04f5821 (diff) | |
parent | 0c009ba2b590618fdeade42bb7ebd3034f6fd045 (diff) |
Merge branch 'master' of github.com:grpc/grpc into matrix
Diffstat (limited to 'src/core/lib/iomgr/pollset_uv.c')
-rw-r--r-- | src/core/lib/iomgr/pollset_uv.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/pollset_uv.c b/src/core/lib/iomgr/pollset_uv.c index 8ff647f03c..1a54065a91 100644 --- a/src/core/lib/iomgr/pollset_uv.c +++ b/src/core/lib/iomgr/pollset_uv.c @@ -31,6 +31,12 @@ #include "src/core/lib/iomgr/pollset.h" #include "src/core/lib/iomgr/pollset_uv.h" +#include "src/core/lib/debug/trace.h" + +#ifndef NDEBUG +grpc_tracer_flag grpc_trace_fd_refcount = GRPC_TRACER_INITIALIZER(false); +#endif + struct grpc_pollset { uv_timer_t timer; int shutting_down; @@ -88,7 +94,7 @@ void grpc_pollset_shutdown(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset, // kick the loop once uv_timer_start(dummy_uv_handle, dummy_timer_cb, 0, 0); } - grpc_closure_sched(exec_ctx, closure, GRPC_ERROR_NONE); + GRPC_CLOSURE_SCHED(exec_ctx, closure, GRPC_ERROR_NONE); } void grpc_pollset_destroy(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset) { |