aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-05-24 16:23:29 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-05-24 16:23:29 -0700
commit468af1cf45708224712d1979e14d8fe7df96757a (patch)
tree0e0bf5ad4118be032f533feb5c3520338f5527fd
parentebe38add27e2de4a5ac57b00aeabaa097810863d (diff)
Add some logging
-rw-r--r--src/core/lib/iomgr/executor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/executor.c b/src/core/lib/iomgr/executor.c
index a5b698ae0a..2bbae80c86 100644
--- a/src/core/lib/iomgr/executor.c
+++ b/src/core/lib/iomgr/executor.c
@@ -192,6 +192,8 @@ static void executor_push(grpc_exec_ctx *exec_ctx, grpc_closure *closure,
gpr_mu_unlock(&ts->mu);
cur_thread_count = (size_t)gpr_atm_no_barrier_load(&g_cur_threads);
if (cur_thread_count < g_max_threads) {
+ gpr_log(GPR_DEBUG, "Creating internal grpc thread #%" PRIdPTR,
+ cur_thread_count + 1);
gpr_atm_no_barrier_store(&g_cur_threads, cur_thread_count + 1);
gpr_thd_options opt = gpr_thd_options_default();