Remove ThreadPoolWorker GABC

pull/19544/head
Yunjia Wang 6 years ago
parent 15d2f0390b
commit 6518c2c67d
  1. 2
      src/core/lib/iomgr/executor/threadpool.cc
  2. 2
      src/core/lib/iomgr/executor/threadpool.h

@ -99,7 +99,7 @@ ThreadPool::ThreadPool(int num_threads, const char* thd_name,
}
ThreadPool::~ThreadPool() {
shut_down_.Store(false, MemoryOrder::RELEASE);
shut_down_.Store(true, MemoryOrder::RELEASE);
for (int i = 0; i < num_threads_; ++i) {
queue_->Put(nullptr);

@ -79,7 +79,7 @@ class ThreadPoolWorker {
void Start() { thd_.Start(); }
void Join() { thd_.Join(); }
GRPC_ABSTRACT_BASE_CLASS
// GRPC_ABSTRACT_BASE_CLASS
private:
// struct for tracking stats of thread

Loading…
Cancel
Save