From 052c31c14e50bc958a3d3c2384e4a8096dc9695b Mon Sep 17 00:00:00 2001 From: FrozenGene Date: Sun, 17 Nov 2019 19:17:09 +0800 Subject: [PATCH] change to more meaningful comment --- src/runtime/thread_pool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/thread_pool.cc b/src/runtime/thread_pool.cc index 804b30aae122c..a5214bee366ac 100644 --- a/src/runtime/thread_pool.cc +++ b/src/runtime/thread_pool.cc @@ -373,7 +373,7 @@ class ThreadPool { int num_workers_; // number of workers used (can be restricted with affinity pref) int num_workers_used_; - // if excluding worker 0 and using master to run task 0 + // if or not to exclude worker 0 and use master to run task 0 bool exclude_worker0_{false}; std::vector > queues_; std::unique_ptr threads_;