MCPcopy Create free account
hub / github.com/acl-dev/acl / proc_on_init

Method proc_on_init

app/wizard/tmpl/master/master_rpc.cpp:245–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void master_service::proc_on_init(void)
246{
247 // ����첽��ܵ��¼�������
248 acl::aio_handle* handle = this->get_handle();
249 if (handle == NULL) {
250 logger_fatal("aio handle null!");
251 }
252
253 // ��ʼ�� rpc �������
254 rpc_manager::get_instance().init(*handle, var_cfg_thread_pool_limit);
255}
256
257void master_service::proc_on_exit(void)
258{

Callers

nothing calls this directly

Calls 2

get_handleMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected