Home
last modified time | relevance | path

Searched refs:Fork (Results 1 – 25 of 67) sorted by relevance

123

/third_party/grpc/test/core/gprpp/
Dfork_test.cc25 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 …]
/third_party/grpc/src/core/lib/gprpp/
Dfork.cc169 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 …]
Dthd_posix.cc91 Fork::IncThreadCount(); in ThreadInternalsPosix()
142 Fork::DecThreadCount(); in ThreadInternalsPosix()
154 Fork::DecThreadCount(); in ThreadInternalsPosix()
Dfork.h38 class Fork {
/third_party/grpc/src/core/lib/iomgr/
Dfork_posix.cc60 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()
Dexec_ctx.h111 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()
Dev_epoll1_linux.cc301 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()
/third_party/typescript/tests/baselines/reference/
DmoduleDuplicateIdentifiers.types67 Fork,
68 >Fork : Utensils.Fork
DmoduleDuplicateIdentifiers.symbols62 Fork,
63 >Fork : Symbol(Utensils.Fork, Decl(moduleDuplicateIdentifiers.ts, 31, 7))
DmoduleDuplicateIdentifiers.js34 Fork,
DmoduleDuplicateIdentifiers.errors.txt48 Fork,
/third_party/grpc/src/core/lib/surface/
Dinit.cc138 grpc_core::Fork::GlobalInit(); in grpc_init()
193 grpc_core::Fork::GlobalShutdown(); in grpc_shutdown_internal_locked()
/third_party/typescript/tests/cases/compiler/
DmoduleDuplicateIdentifiers.ts34 Fork, enumerator
/third_party/openGLES/
DREADME.md26 1. Fork 本仓库
DREADME.en.md23 1. Fork the repository
/third_party/vk-gl-cts/
DREADME.md26 1. Fork 本仓库
DREADME.en.md23 1. Fork the repository
/third_party/mindspore/
DCONTRIBUTING.md10 - [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 model
56 - Fork MindSpore repository
/third_party/boost/libs/asio/doc/overview/
Dposix.qbk14 [link boost_asio.overview.posix.fork Fork]
115 [section:fork Fork]
148 [link boost_asio.examples.cpp03_examples.fork Fork examples].
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-stress/
DREADME.md20 -c <concurrent>|Fork this many times on init|
/third_party/ltp/runtest/
Dcrashme14 # Fork as many children as possible. On systems with lots of memory
/third_party/EGL/
DREADME.en.md23 1. Fork the repository
/third_party/boost/libs/thread/doc/
Dparallel.qbk9 [section:parallel Parallel - Fork-Join -- EXPERIMENTAL]
11 [section:fork_join Fork-Join]
197 [endsect] [/ Fork-Join]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/
Dtemplate_4-1.in14 1. Fork a new process
Dtemplate_4-2.in14 1. Fork a new process

123