GRPC Core
9.0.0
|
Public Member Functions | |
ExecCtxPluck (void *arg) | |
bool | CheckReadyToFinish () override |
Check if ready to finish. More... | |
![]() | |
ExecCtx () | |
Default Constructor. More... | |
ExecCtx (uintptr_t fl) | |
Parameterised Constructor. More... | |
virtual | ~ExecCtx () |
Destructor. More... | |
ExecCtx (const ExecCtx &)=delete | |
Disallow copy and assignment operators. More... | |
ExecCtx & | operator= (const ExecCtx &)=delete |
unsigned | starting_cpu () const |
CombinerData * | combiner_data () |
Only to be used by grpc-combiner code. More... | |
grpc_closure_list * | closure_list () |
Return pointer to grpc_closure_list. More... | |
uintptr_t | flags () |
Return flags. More... | |
bool | HasWork () |
Checks if there is work to be done. More... | |
bool | Flush () |
Flush any work that has been enqueued onto this grpc_exec_ctx. More... | |
bool | IsReadyToFinish () |
Returns true if we'd like to leave this execution context as soon as possible: useful for deciding whether to do something more or not depending on outside context. More... | |
grpc_millis | Now () |
Returns the stored current time relative to start if valid, otherwise refreshes the stored time, sets it valid and returns the new value. More... | |
void | InvalidateNow () |
Invalidates the stored time value. More... | |
void | SetNowIomgrShutdown () |
To be used only by shutdown code in iomgr. More... | |
void | TestOnlySetNow (grpc_millis new_val) |
To be used only for testing. More... | |
Additional Inherited Members | |
![]() | |
static void | TestOnlyGlobalInit (gpr_timespec new_val) |
static void | GlobalInit (void) |
Global initialization for ExecCtx. More... | |
static void | GlobalShutdown (void) |
Global shutdown for ExecCtx. More... | |
static ExecCtx * | Get () |
Gets pointer to current exec_ctx. More... | |
static void | Set (ExecCtx *exec_ctx) |
static void | Run (const DebugLocation &location, grpc_closure *closure, grpc_error *error) |
static void | RunList (const DebugLocation &location, grpc_closure_list *list) |
![]() | |
static void | operator delete (void *) |
Disallow delete on ExecCtx. More... | |
|
inline |
|
inlineoverridevirtual |
Check if ready to finish.
Reimplemented from grpc_core::ExecCtx.