Go to the documentation of this file.
35 #ifdef GRPC_ENABLE_FORK_SUPPORT
36 #define GRPC_ENABLE_FORK_SUPPORT_DEFAULT true
38 #define GRPC_ENABLE_FORK_SUPPORT_DEFAULT false
39 #endif // GRPC_ENABLE_FORK_SUPPORT
43 "Enable fork support");
54 #define UNBLOCKED(n) ((n) + 2)
55 #define BLOCKED(n) (n)
169 std::memory_order_relaxed);
GPRAPI void gpr_cv_signal(gpr_cv *cv)
static child_postfork_func GetResetChildPollingEngineFunc()
static void IncThreadCount()
GPRAPI void gpr_mu_unlock(gpr_mu *mu)
static child_postfork_func reset_child_polling_engine_
#define gpr_atm_no_barrier_load(p)
#define gpr_atm_no_barrier_store(p, value)
#define GPR_GLOBAL_CONFIG_GET(name)
static void DoDecExecCtxCount()
static internal::ExecCtxState * exec_ctx_state_
static void AllowExecCtx()
static void DoIncExecCtxCount()
GPRAPI gpr_timespec gpr_inf_future(gpr_clock_type type)
static void Enable(bool enable)
static std::atomic< bool > support_enabled_
GPRAPI void gpr_mu_destroy(gpr_mu *mu)
GPRAPI void gpr_cv_destroy(gpr_cv *cv)
static void AwaitThreads()
GPRAPI void gpr_mu_init(gpr_mu *mu)
GPRAPI int gpr_cv_wait(gpr_cv *cv, gpr_mu *mu, gpr_timespec abs_deadline)
#define gpr_atm_no_barrier_fetch_add(p, delta)
GPR_GLOBAL_CONFIG_DEFINE_BOOL(grpc_enable_fork_support, GRPC_ENABLE_FORK_SUPPORT_DEFAULT, "Enable fork support")
GPRAPI void gpr_mu_lock(gpr_mu *mu)
static void DecThreadCount()
#define gpr_atm_no_barrier_cas(p, o, n)
void(* child_postfork_func)(void)
static bool override_enabled_
static void GlobalShutdown()
static internal::ThreadState * thread_state_
static void SetResetChildPollingEngineFunc(child_postfork_func reset_child_polling_engine)
GPRAPI void gpr_cv_broadcast(gpr_cv *cv)
static bool BlockExecCtx()
#define GRPC_ENABLE_FORK_SUPPORT_DEFAULT
GPRAPI void gpr_cv_init(gpr_cv *cv)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:22