aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/block_annotate.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-10-06 13:10:59 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-10-06 13:10:59 -0700
commit56f8da0f9616ddea110a713a8daf2398493e7b8f (patch)
tree2c0711f3b962fcf844ace9a86360eeb61c2e7351 /src/core/lib/iomgr/block_annotate.h
parent3640b4084ac8485ef99ab3162cae7b8b079bbf6b (diff)
Import fixes
Diffstat (limited to 'src/core/lib/iomgr/block_annotate.h')
-rw-r--r--src/core/lib/iomgr/block_annotate.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/block_annotate.h b/src/core/lib/iomgr/block_annotate.h
index cbcb5d92f0..fcbfe9eb1a 100644
--- a/src/core/lib/iomgr/block_annotate.h
+++ b/src/core/lib/iomgr/block_annotate.h
@@ -39,9 +39,14 @@ void gpr_thd_end_blocking_region();
do { \
gpr_thd_start_blocking_region(); \
} while (0)
-#define GRPC_SCHEDULING_END_BLOCKING_REGION \
- do { \
- gpr_thd_end_blocking_region(); \
+#define GRPC_SCHEDULING_END_BLOCKING_REGION_NO_EXEC_CTX \
+ do { \
+ gpr_thd_end_blocking_region(); \
+ } while (0)
+#define GRPC_SCHEDULING_END_BLOCKING_REGION_WITH_EXEC_CTX(ec) \
+ do { \
+ gpr_thd_end_blocking_region(); \
+ grpc_exec_ctx_invalidate_now((ec)); \
} while (0)
#else
#define GRPC_SCHEDULING_START_BLOCKING_REGION \