diff options
author | 2017-02-23 17:10:04 -0800 | |
---|---|---|
committer | 2017-03-21 08:15:19 -0700 | |
commit | 18f09a01f659e9004740766dfc5ab46e2aeea00e (patch) | |
tree | 0c4eb597e2dba6ae23118e88ddb3235540736f18 /src/core/lib/iomgr/combiner.c | |
parent | d5fa26eecde59c33a0205c4ed54ffdb5234807e7 (diff) |
Add benchmark suite for chttp2
Diffstat (limited to 'src/core/lib/iomgr/combiner.c')
-rw-r--r-- | src/core/lib/iomgr/combiner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/combiner.c b/src/core/lib/iomgr/combiner.c index fa9966c3a6..2bc476bbef 100644 --- a/src/core/lib/iomgr/combiner.c +++ b/src/core/lib/iomgr/combiner.c @@ -33,6 +33,7 @@ #include "src/core/lib/iomgr/combiner.h" +#include <assert.h> #include <string.h> #include <grpc/support/alloc.h> @@ -216,6 +217,7 @@ static void combiner_exec(grpc_exec_ctx *exec_ctx, grpc_combiner *lock, GPR_DEBUG, "C:%p grpc_combiner_execute c=%p cov=%d last=%" PRIdPTR, lock, cl, covered_by_poller, last)); GPR_ASSERT(last & STATE_UNORPHANED); // ensure lock has not been destroyed + assert(cl->cb); cl->error_data.scratch = pack_error_data((error_data){error, covered_by_poller}); if (covered_by_poller) { |