Home
last modified time | relevance | path

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

/third_party/grpc/src/core/lib/gprpp/
Dfork.cc171 support_enabled_.Store(GPR_GLOBAL_CONFIG_GET(grpc_enable_fork_support), in GlobalInit()
174 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in GlobalInit()
181 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in GlobalShutdown()
187 bool Fork::Enabled() { return support_enabled_.Load(MemoryOrder::RELAXED); } in Enabled()
192 support_enabled_.Store(enable, MemoryOrder::RELAXED); in Enable()
208 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in BlockExecCtx()
215 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in AllowExecCtx()
221 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in IncThreadCount()
227 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in DecThreadCount()
232 if (support_enabled_.Load(MemoryOrder::RELAXED)) { in AwaitThreads()
[all …]
Dfork.h51 if (GPR_UNLIKELY(support_enabled_.Load(MemoryOrder::RELAXED))) { in IncExecCtxCount()
58 if (GPR_UNLIKELY(support_enabled_.Load(MemoryOrder::RELAXED))) { in DecExecCtxCount()
96 static grpc_core::Atomic<bool> support_enabled_; variable