Searched refs:Fork (Results 1 – 25 of 67) sorted by relevance
123
25 GPR_ASSERT(!grpc_core::Fork::Enabled()); in test_init()28 grpc_core::Fork::GlobalInit(); in test_init()29 GPR_ASSERT(!grpc_core::Fork::Enabled()); in test_init()30 grpc_core::Fork::GlobalShutdown(); in test_init()33 grpc_core::Fork::Enable(false); in test_init()34 grpc_core::Fork::GlobalInit(); in test_init()35 GPR_ASSERT(!grpc_core::Fork::Enabled()); in test_init()36 grpc_core::Fork::GlobalShutdown(); in test_init()39 grpc_core::Fork::Enable(true); in test_init()40 grpc_core::Fork::GlobalInit(); in test_init()[all …]
169 void Fork::GlobalInit() { in GlobalInit()180 void Fork::GlobalShutdown() { in GlobalShutdown()187 bool Fork::Enabled() { return support_enabled_.Load(MemoryOrder::RELAXED); } in Enabled()190 void Fork::Enable(bool enable) { in Enable()195 void Fork::DoIncExecCtxCount() { exec_ctx_state_->IncExecCtxCount(); } in DoIncExecCtxCount()197 void Fork::DoDecExecCtxCount() { exec_ctx_state_->DecExecCtxCount(); } in DoDecExecCtxCount()199 void Fork::SetResetChildPollingEngineFunc( in SetResetChildPollingEngineFunc()200 Fork::child_postfork_func reset_child_polling_engine) { in SetResetChildPollingEngineFunc()203 Fork::child_postfork_func Fork::GetResetChildPollingEngineFunc() { in GetResetChildPollingEngineFunc()207 bool Fork::BlockExecCtx() { in BlockExecCtx()[all …]
91 Fork::IncThreadCount(); in ThreadInternalsPosix()142 Fork::DecThreadCount(); in ThreadInternalsPosix()154 Fork::DecThreadCount(); in ThreadInternalsPosix()
38 class Fork {
60 if (!grpc_core::Fork::Enabled()) { in grpc_prefork()74 if (!grpc_core::Fork::BlockExecCtx()) { in grpc_prefork()83 grpc_core::Fork::AwaitThreads(); in grpc_prefork()89 grpc_core::Fork::AllowExecCtx(); in grpc_postfork_parent()98 grpc_core::Fork::AllowExecCtx(); in grpc_postfork_child()100 grpc_core::Fork::child_postfork_func reset_polling_engine = in grpc_postfork_child()101 grpc_core::Fork::GetResetChildPollingEngineFunc(); in grpc_postfork_child()111 if (grpc_core::Fork::Enabled() & !registered_handlers) { in grpc_fork_handlers_auto_register()
111 grpc_core::Fork::IncExecCtxCount(); in ExecCtx()118 grpc_core::Fork::IncExecCtxCount(); in ExecCtx()129 grpc_core::Fork::DecExecCtxCount(); in ~ExecCtx()328 grpc_core::Fork::DecExecCtxCount(); in ~ApplicationCallbackExecCtx()346 grpc_core::Fork::IncExecCtxCount(); in Set()
301 if (grpc_core::Fork::Enabled()) { in fork_fd_list_add_grpc_fd()316 if (grpc_core::Fork::Enabled()) { in fork_fd_list_remove_grpc_fd()1271 if (grpc_core::Fork::Enabled()) { in shutdown_engine()1273 grpc_core::Fork::SetResetChildPollingEngineFunc(nullptr); in shutdown_engine()1353 if (grpc_core::Fork::Enabled()) { in grpc_init_epoll1_linux()1355 grpc_core::Fork::SetResetChildPollingEngineFunc( in grpc_init_epoll1_linux()
67 Fork,68 >Fork : Utensils.Fork
62 Fork,63 >Fork : Symbol(Utensils.Fork, Decl(moduleDuplicateIdentifiers.ts, 31, 7))
34 Fork,
48 Fork,
138 grpc_core::Fork::GlobalInit(); in grpc_init()193 grpc_core::Fork::GlobalShutdown(); in grpc_shutdown_internal_locked()
34 Fork, enumerator
26 1. Fork 本仓库
23 1. Fork the repository
10 - [Fork-Pull development model](#fork-pull-development-model)24 - Fork the repository on [Github](https://github.com/mindspore-ai/mindspore) or [Gitee](https://git…54 ### Fork-Pull development model56 - Fork MindSpore repository
14 [link boost_asio.overview.posix.fork Fork]115 [section:fork Fork]148 [link boost_asio.examples.cpp03_examples.fork Fork examples].
20 -c <concurrent>|Fork this many times on init|
14 # Fork as many children as possible. On systems with lots of memory
9 [section:parallel Parallel - Fork-Join -- EXPERIMENTAL]11 [section:fork_join Fork-Join]197 [endsect] [/ Fork-Join]
14 1. Fork a new process