#include <grpc/support/port_platform.h>
#include <cstdint>
#include <grpc/event_engine/event_engine.h>
#include <grpc/support/time.h>
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/iomgr.h"
#include "src/core/lib/iomgr/port.h"
Go to the source code of this file.
Classes | |
struct | grpc_timer |
struct | grpc_timer_vtable |
Typedefs | |
typedef struct grpc_timer | grpc_timer |
typedef struct grpc_timer_vtable | grpc_timer_vtable |
Enumerations | |
enum | grpc_timer_check_result { GRPC_TIMERS_NOT_CHECKED, GRPC_TIMERS_CHECKED_AND_EMPTY, GRPC_TIMERS_FIRED } |
Functions | |
void | grpc_kick_poller (void) |
void | grpc_set_timer_impl (grpc_timer_vtable *vtable) |
void | grpc_timer_cancel (grpc_timer *timer) |
grpc_timer_check_result | grpc_timer_check (grpc_core::Timestamp *next) |
void | grpc_timer_consume_kick (void) |
void | grpc_timer_init (grpc_timer *timer, grpc_core::Timestamp deadline, grpc_closure *closure) |
void | grpc_timer_init_unset (grpc_timer *timer) |
void | grpc_timer_list_init () |
void | grpc_timer_list_shutdown () |
typedef struct grpc_timer grpc_timer |
typedef struct grpc_timer_vtable grpc_timer_vtable |
Enumerator | |
---|---|
GRPC_TIMERS_NOT_CHECKED | |
GRPC_TIMERS_CHECKED_AND_EMPTY | |
GRPC_TIMERS_FIRED |
Definition at line 55 of file iomgr/timer.h.
void grpc_kick_poller | ( | void | ) |
Definition at line 354 of file iomgr/timer_manager.cc.
void grpc_set_timer_impl | ( | grpc_timer_vtable * | vtable | ) |
Definition at line 27 of file iomgr/timer.cc.
void grpc_timer_cancel | ( | grpc_timer * | timer | ) |
Definition at line 36 of file iomgr/timer.cc.
grpc_timer_check_result grpc_timer_check | ( | grpc_core::Timestamp * | next | ) |
Definition at line 38 of file iomgr/timer.cc.
void grpc_timer_consume_kick | ( | void | ) |
Definition at line 46 of file iomgr/timer.cc.
void grpc_timer_init | ( | grpc_timer * | timer, |
grpc_core::Timestamp | deadline, | ||
grpc_closure * | closure | ||
) |
Definition at line 31 of file iomgr/timer.cc.
void grpc_timer_init_unset | ( | grpc_timer * | timer | ) |
Definition at line 330 of file timer_generic.cc.
void grpc_timer_list_init | ( | ) |
Definition at line 42 of file iomgr/timer.cc.
void grpc_timer_list_shutdown | ( | ) |
Definition at line 44 of file iomgr/timer.cc.