aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2019-01-09 13:43:24 -0800
committerGravatar GitHub <noreply@github.com>2019-01-09 13:43:24 -0800
commit302e7b4d2b97a2f4742296234b66507842bb096b (patch)
tree0fd5eb3b5166604c83e98f7e51d6689b1bf84a51 /test
parent54963bb90de38f6349f3dc3e82810f257c713621 (diff)
parent11eff929e24cae59ed21c2f3a0bde22a6dbe0d91 (diff)
Merge pull request #17658 from guantaol/avoid_thd_jump
Avoid the thread jump in server callback APIs.
Diffstat (limited to 'test')
-rw-r--r--test/cpp/microbenchmarks/bm_cq_multiple_threads.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc
index dca97c85b1..7aa197b597 100644
--- a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc
+++ b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc
@@ -94,6 +94,7 @@ static const grpc_event_engine_vtable* init_engine_vtable(bool) {
g_vtable.pollset_destroy = pollset_destroy;
g_vtable.pollset_work = pollset_work;
g_vtable.pollset_kick = pollset_kick;
+ g_vtable.is_any_background_poller_thread = [] { return false; };
g_vtable.shutdown_background_closure = [] {};
g_vtable.shutdown_engine = [] {};