Lines Matching refs:Fork

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()
41 GPR_ASSERT(grpc_core::Fork::Enabled()); in test_init()
42 grpc_core::Fork::GlobalShutdown(); in test_init()
61 grpc_core::Fork::Enable(true); in test_thd_count()
62 grpc_core::Fork::GlobalInit(); in test_thd_count()
63 grpc_core::Fork::AwaitThreads(); in test_thd_count()
64 grpc_core::Fork::GlobalShutdown(); in test_thd_count()
66 grpc_core::Fork::Enable(true); in test_thd_count()
67 grpc_core::Fork::GlobalInit(); in test_thd_count()
81 grpc_core::Fork::AwaitThreads(); in test_thd_count()
87 grpc_core::Fork::GlobalShutdown(); in test_thd_count()
92 grpc_core::Fork::IncExecCtxCount(); in exec_ctx_thread()
97 grpc_core::Fork::Enable(true); in test_exec_count()
98 grpc_core::Fork::GlobalInit(); in test_exec_count()
100 grpc_core::Fork::IncExecCtxCount(); in test_exec_count()
101 GPR_ASSERT(grpc_core::Fork::BlockExecCtx()); in test_exec_count()
102 grpc_core::Fork::DecExecCtxCount(); in test_exec_count()
103 grpc_core::Fork::AllowExecCtx(); in test_exec_count()
105 grpc_core::Fork::IncExecCtxCount(); in test_exec_count()
106 grpc_core::Fork::IncExecCtxCount(); in test_exec_count()
107 GPR_ASSERT(!grpc_core::Fork::BlockExecCtx()); in test_exec_count()
108 grpc_core::Fork::DecExecCtxCount(); in test_exec_count()
109 grpc_core::Fork::DecExecCtxCount(); in test_exec_count()
111 grpc_core::Fork::IncExecCtxCount(); in test_exec_count()
112 GPR_ASSERT(grpc_core::Fork::BlockExecCtx()); in test_exec_count()
113 grpc_core::Fork::DecExecCtxCount(); in test_exec_count()
114 grpc_core::Fork::AllowExecCtx(); in test_exec_count()
120 grpc_core::Fork::IncExecCtxCount(); in test_exec_count()
121 GPR_ASSERT(grpc_core::Fork::BlockExecCtx()); in test_exec_count()
122 grpc_core::Fork::DecExecCtxCount(); in test_exec_count()
127 grpc_core::Fork::AllowExecCtx(); in test_exec_count()
129 grpc_core::Fork::GlobalShutdown(); in test_exec_count()