|
GRPC C++
1.26.0
|
#include <grpc/support/port_platform.h>#include <grpc/impl/codegen/grpc_types.h>#include <grpc/support/atm.h>#include <grpc/support/cpu.h>#include <grpc/support/log.h>#include "src/core/lib/gpr/time_precise.h"#include "src/core/lib/gpr/tls.h"#include "src/core/lib/gprpp/debug_location.h"#include "src/core/lib/gprpp/fork.h"#include "src/core/lib/iomgr/closure.h"Go to the source code of this file.
Data Structures | |
| class | grpc_core::ExecCtx |
| Execution context. More... | |
| struct | grpc_core::ExecCtx::CombinerData |
| class | grpc_core::ApplicationCallbackExecCtx |
| Application-callback execution context. More... | |
Namespaces | |
| grpc_core | |
| Internal thread interface. | |
Macros | |
| #define | GRPC_MILLIS_INF_FUTURE INT64_MAX |
| #define | GRPC_MILLIS_INF_PAST INT64_MIN |
| #define | GRPC_EXEC_CTX_FLAG_IS_FINISHED 1 |
| #define | GRPC_EXEC_CTX_FLAG_THREAD_RESOURCE_LOOP 2 |
| #define | GRPC_EXEC_CTX_FLAG_IS_INTERNAL_THREAD 4 |
| #define | GRPC_APP_CALLBACK_EXEC_CTX_FLAG_IS_INTERNAL_THREAD 1 |
Typedefs | |
| typedef int64_t | grpc_millis |
| typedef struct grpc_combiner | grpc_combiner |
| A combiner represents a list of work to be executed later. More... | |
Functions | |
| gpr_timespec | grpc_millis_to_timespec (grpc_millis millis, gpr_clock_type clock) |
| grpc_millis | grpc_timespec_to_millis_round_down (gpr_timespec timespec) |
| grpc_millis | grpc_timespec_to_millis_round_up (gpr_timespec timespec) |
| grpc_millis | grpc_cycle_counter_to_millis_round_down (gpr_cycle_counter cycles) |
| grpc_millis | grpc_cycle_counter_to_millis_round_up (gpr_cycle_counter cycles) |
| #define GRPC_APP_CALLBACK_EXEC_CTX_FLAG_IS_INTERNAL_THREAD 1 |
| #define GRPC_EXEC_CTX_FLAG_IS_FINISHED 1 |
| #define GRPC_EXEC_CTX_FLAG_IS_INTERNAL_THREAD 4 |
| #define GRPC_EXEC_CTX_FLAG_THREAD_RESOURCE_LOOP 2 |
| #define GRPC_MILLIS_INF_FUTURE INT64_MAX |
| #define GRPC_MILLIS_INF_PAST INT64_MIN |
| typedef struct grpc_combiner grpc_combiner |
A combiner represents a list of work to be executed later.
Forward declared here to avoid a circular dependency with combiner.h.
| typedef int64_t grpc_millis |
| grpc_millis grpc_cycle_counter_to_millis_round_down | ( | gpr_cycle_counter | cycles | ) |
| grpc_millis grpc_cycle_counter_to_millis_round_up | ( | gpr_cycle_counter | cycles | ) |
| gpr_timespec grpc_millis_to_timespec | ( | grpc_millis | millis, |
| gpr_clock_type | clock | ||
| ) |
| grpc_millis grpc_timespec_to_millis_round_down | ( | gpr_timespec | timespec | ) |
| grpc_millis grpc_timespec_to_millis_round_up | ( | gpr_timespec | timespec | ) |