提交 422449a9 编写于 作者: Q Qiao Longfei

fix style

上级 edad60e6
...@@ -153,9 +153,9 @@ class CTRReader : public framework::FileReader { ...@@ -153,9 +153,9 @@ class CTRReader : public framework::FileReader {
VLOG(3) << "reopen success"; VLOG(3) << "reopen success";
VLOG(3) << "thread_num " << thread_num_; VLOG(3) << "thread_num " << thread_num_;
for (int thread_id = 0; thread_id < thread_num_; thread_id++) { for (int thread_id = 0; thread_id < thread_num_; thread_id++) {
read_threads_.emplace_back(new std::thread( read_threads_.emplace_back(new std::thread(std::bind(
std::bind(&ReadThread, file_groups_[thread_id], data_desc_, static_cast<int>(thread_id), &ReadThread, file_groups_[thread_id], data_desc_,
&read_thread_status_, queue_))); static_cast<int>(thread_id), &read_thread_status_, queue_)));
} }
monitor_thread_.reset(new std::thread( monitor_thread_.reset(new std::thread(
std::bind(&MonitorThread, &read_thread_status_, queue_))); std::bind(&MonitorThread, &read_thread_status_, queue_)));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册