Go to the documentation of this file.
78 this, grpc_schedule_on_exec_ctx);
102 this, grpc_schedule_on_exec_ctx);
#define GRPC_CLOSURE_INIT(closure, cb, cb_arg, scheduler)
static grpc::internal::GrpcLibraryInitializer g_gli_initializer
grpc_cq_completion completion_
void grpc_cq_end_op(grpc_completion_queue *cq, void *tag, grpc_error_handle error, void(*done)(void *done_arg, grpc_cq_completion *storage), void *done_arg, grpc_cq_completion *storage, bool internal)
#define GRPC_CLOSURE_CREATE(cb, cb_arg, scheduler)
void Set(gpr_timespec deadline, std::function< void(bool)> f)
void Set(grpc::CompletionQueue *cq, gpr_timespec deadline, void *tag)
static void Run(grpc_closure *closure, grpc_error_handle error, ExecutorType executor_type=ExecutorType::DEFAULT, ExecutorJobType job_type=ExecutorJobType::SHORT)
void SetInternal(grpc::CompletionQueue *cq, gpr_timespec deadline, void *tag)
grpc::internal::CompletionQueueTag * alarm_
void grpc_timer_init_unset(grpc_timer *timer)
Instantiating this class ensures the proper initialization of gRPC.
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
void Set(grpc::CompletionQueue *cq, const T &deadline, void *tag)
static void * tag(intptr_t t)
Alarm()
Create an unset completion queue alarm.
void grpc_timer_cancel(grpc_timer *timer)
grpc_completion_queue * cq_
bool grpc_cq_begin_op(grpc_completion_queue *cq, void *tag)
void Destroy(grpc_transport *)
grpc_core::ExecCtx exec_ctx
~Alarm() override
Destroy the given completion queue alarm, cancelling it in the process.
#define GRPC_CQ_INTERNAL_UNREF(cq, reason)
void grpc_timer_init(grpc_timer *timer, grpc_core::Timestamp deadline, grpc_closure *closure)
#define GRPC_CQ_INTERNAL_REF(cq, reason)
GPRAPI void gpr_ref_init(gpr_refcount *r, int n)
GPRAPI int gpr_unref(gpr_refcount *r)
An interface allowing implementors to process and filter event tags.
static Timestamp FromTimespecRoundUp(gpr_timespec t)
bool FinalizeResult(void **tag, bool *) override
GPRAPI void gpr_ref(gpr_refcount *r)
std::function< void(bool)> callback_
static grpc_completion_queue * cq
#define GRPC_ERROR_IS_NONE(err)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:40