#include <executor.h>
Definition at line 55 of file executor.h.
◆ Executor()
grpc_core::Executor::Executor |
( |
const char * |
executor_name | ) |
|
|
explicit |
◆ Enqueue()
Enqueue the closure onto the executor. is_short is true if the closure is a short job (i.e expected to not block and complete quickly)
Definition at line 260 of file executor.cc.
◆ Init()
void grpc_core::Executor::Init |
( |
| ) |
|
◆ InitAll()
void grpc_core::Executor::InitAll |
( |
| ) |
|
|
static |
◆ IsThreaded() [1/2]
bool grpc_core::Executor::IsThreaded |
( |
| ) |
const |
Is the executor multi-threaded?
Definition at line 144 of file executor.cc.
◆ IsThreaded() [2/2]
◆ IsThreadedDefault()
bool grpc_core::Executor::IsThreadedDefault |
( |
| ) |
|
|
static |
◆ Run()
◆ RunClosures()
◆ SetThreading()
void grpc_core::Executor::SetThreading |
( |
bool |
threading | ) |
|
◆ SetThreadingAll()
void grpc_core::Executor::SetThreadingAll |
( |
bool |
enable | ) |
|
|
static |
◆ SetThreadingDefault()
void grpc_core::Executor::SetThreadingDefault |
( |
bool |
enable | ) |
|
|
static |
◆ Shutdown()
void grpc_core::Executor::Shutdown |
( |
| ) |
|
Shutdown the executor, running all pending work as part of the call
Definition at line 220 of file executor.cc.
◆ ShutdownAll()
void grpc_core::Executor::ShutdownAll |
( |
| ) |
|
|
static |
◆ ThreadMain()
void grpc_core::Executor::ThreadMain |
( |
void * |
arg | ) |
|
|
staticprivate |
◆ adding_thread_lock_
◆ max_threads_
size_t grpc_core::Executor::max_threads_ |
|
private |
◆ name_
const char* grpc_core::Executor::name_ |
|
private |
◆ num_threads_
gpr_atm grpc_core::Executor::num_threads_ |
|
private |
◆ thd_state_
The documentation for this class was generated from the following files: