pull/19544/head
Yunjia Wang 5 years ago
parent 53b75d8c92
commit 7bc9aba863
  1. 4
      test/core/iomgr/threadpool_test.cc

@ -41,9 +41,7 @@ class SimpleFunctorForAdd : public grpc_experimental_completion_queue_functor {
callback->count_.FetchAdd(1, grpc_core::MemoryOrder::RELAXED);
}
int count() {
return count_.Load(grpc_core::MemoryOrder::RELAXED);
}
int count() { return count_.Load(grpc_core::MemoryOrder::RELAXED); }
private:
grpc_core::Atomic<int> count_{0};

Loading…
Cancel
Save