Home
last modified time | relevance | path

Searched refs:g_error_creation_allowed (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Derror.cc315 static bool g_error_creation_allowed = true; variable
317 void grpc_disable_error_creation() { g_error_creation_allowed = false; } in grpc_disable_error_creation()
319 void grpc_enable_error_creation() { g_error_creation_allowed = true; } in grpc_enable_error_creation()
335 if (!g_error_creation_allowed) { in grpc_error_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Derror.cc309 static gpr_atm g_error_creation_allowed = true; variable
312 gpr_atm_no_barrier_store(&g_error_creation_allowed, false); in grpc_disable_error_creation()
316 gpr_atm_no_barrier_store(&g_error_creation_allowed, true); in grpc_enable_error_creation()
333 if (!gpr_atm_no_barrier_load(&g_error_creation_allowed)) { in grpc_error_create()