Public Member Functions | List of all members
grpc_core::ThreadPoolInterface Class Referenceabstract

#include <threadpool.h>

Inheritance diagram for grpc_core::ThreadPoolInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void Add (grpc_completion_queue_functor *closure)=0
 
virtual int num_pending_closures () const =0
 
virtual int pool_capacity () const =0
 
virtual const char * thread_name () const =0
 
virtual const Thread::Optionsthread_options () const =0
 
virtual ~ThreadPoolInterface ()
 

Detailed Description

Definition at line 36 of file src/core/lib/iomgr/executor/threadpool.h.

Constructor & Destructor Documentation

◆ ~ThreadPoolInterface()

virtual grpc_core::ThreadPoolInterface::~ThreadPoolInterface ( )
inlinevirtual

Definition at line 39 of file src/core/lib/iomgr/executor/threadpool.h.

Member Function Documentation

◆ Add()

virtual void grpc_core::ThreadPoolInterface::Add ( grpc_completion_queue_functor closure)
pure virtual

Implemented in grpc_core::ThreadPool.

◆ num_pending_closures()

virtual int grpc_core::ThreadPoolInterface::num_pending_closures ( ) const
pure virtual

Implemented in grpc_core::ThreadPool.

◆ pool_capacity()

virtual int grpc_core::ThreadPoolInterface::pool_capacity ( ) const
pure virtual

Implemented in grpc_core::ThreadPool.

◆ thread_name()

virtual const char* grpc_core::ThreadPoolInterface::thread_name ( ) const
pure virtual

Implemented in grpc_core::ThreadPool.

◆ thread_options()

virtual const Thread::Options& grpc_core::ThreadPoolInterface::thread_options ( ) const
pure virtual

Implemented in grpc_core::ThreadPool.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:37