Go to the documentation of this file.
28 "grpcpp_dynamic_pool",
43 pool_->dead_threads_.push_back(
this);
45 if ((
pool_->shutdown_) && (
pool_->nthreads_ == 0)) {
46 pool_->shutdown_cv_.Signal();
89 for (
auto t = tlist->begin(); t != tlist->end(); t = tlist->erase(t)) {
DynamicThread(DynamicThreadPool *pool)
std::queue< std::function< void()> > callbacks_
void Add(const std::function< void()> &callback) override
~DynamicThreadPool() override
void Release() ABSL_UNLOCK_FUNCTION()
std::list< DynamicThread * > dead_threads_
static void ReapThreads(std::list< DynamicThread * > *tlist)
static void callback(void *arg, int status, int timeouts, struct hostent *host)
InternalDescriptorPool * pool
DynamicThreadPool(int reserve_threads)
grpc_core::CondVar shutdown_cv_
OPENSSL_EXPORT pem_password_cb * cb
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:18